]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix aper_base for APU
authorRoman Li <Roman.Li@amd.com>
Wed, 25 May 2022 21:20:21 +0000 (17:20 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jun 2022 19:56:59 +0000 (15:56 -0400)
commitaa61a837611551e3f91f05c4982770f1a3ac9eb5
tree0d1b0b4e4bf0c988290559ae60f6419568dc2584
parent07d1a16b9e0c6d479137dcbfa80d369a0a93cfcb
drm/amdgpu: fix aper_base for APU

[Why]
Wrong fb offset results in dmub f/w errors and white screen.
[drm:dc_dmub_srv_wait_idle [amdgpu]] *ERROR* Error waiting for DMUB idle: status=3

[How]
Read aper_base from mmhub because GC is off by default

v2: use BAR for passthrough (Alex)

Signed-off-by: Roman Li <Roman.Li@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c