]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd: Add ucode DMCU support
authorDavid Francis <David.Francis@amd.com>
Tue, 11 Sep 2018 17:41:01 +0000 (13:41 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Sep 2018 21:29:09 +0000 (16:29 -0500)
commit6e9663612b69889c168f0e34ce3cabde4a54057a
tree7ebe0342d2fdddbb5b07b45cb1d8952c0d42e88c
parent03a8e8fc612c01360c52fadce0da0bb2b607b561
drm/amd: Add ucode DMCU support

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

DMCU has two pieces of firmware: the ERAM and the interrupt
vectors, which must be loaded seperately.

To this end, the DMCU firmware has a custom header and parsing
logic similar to MEC, to extract the two ucodes from a single
struct firmware.

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/amdgpu_ucode.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h