drm/amd: Add PSP DMCU support
authorDavid Francis <David.Francis@amd.com>
Tue, 11 Sep 2018 17:46:41 +0000 (13:46 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Sep 2018 21:29:31 +0000 (16:29 -0500)
commit6b7eab2ce60d2363b0e4bfea6667439b926bcf54
tree5c6027ea622cf2a6b13c1ce97fd86133e2e4aa8a
parent01fcfc83fe07ae42af707c3217f533fb350d4c19
drm/amd: Add PSP DMCU support

DMCU (Display Microcontroller Unit) is a GPU chip involved in
eDP features like Adaptive Backlight Modulation and Panel Self
Refresh.

PSP is already equipped to handle DMCU firmware loading, all
that is needed is to translate between the new DMCU ucode ID and
the equivalent psp_gfx_fw_type.

Signed-off-by: David Francis <David.Francis@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/psp_v10_0.c