OSDN Git Service

drm/amd/display: Refactor ABM feature
authorLeon Huang <Leon.Huang1@amd.com>
Tue, 8 Nov 2022 08:29:13 +0000 (16:29 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 18 Apr 2023 20:28:51 +0000 (16:28 -0400)
commitb8fe56375f78835db47565d91ea9d21767fe3c08
tree5319af86cb88d7dcc1a6ae870bae5c2bcaa1a5e9
parent0c1f033159712b3d071cfe4a3ec0f36f1914453b
drm/amd/display: Refactor ABM feature

[Why]
Refactor ABM feature and implement inbox command for DMUB.

[How]
Implement the ioctl to send inbox command to DMUB.

Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Leon Huang <Leon.Huang1@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/Makefile
drivers/gpu/drm/amd/display/dc/dce/dmub_abm.c
drivers/gpu/drm/amd/display/dc/dce/dmub_abm_lcd.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dce/dmub_abm_lcd.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/inc/hw/abm.h