OSDN Git Service

drm/amdgpu: Unset baco dummy mode on nbio v7.9
authorLijo Lazar <lijo.lazar@amd.com>
Fri, 14 Jul 2023 11:32:45 +0000 (17:02 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 31 Aug 2023 21:58:23 +0000 (17:58 -0400)
commit8f1778939b2f22664737a44aa5acf0308bb6518d
tree71f93edd54f0d7f5d29a60a0fe26b3f2f25224f4
parented6445f5894dc5a952766725b0689451a58fcfd8
drm/amdgpu: Unset baco dummy mode on nbio v7.9

BACO dummy mode could be set under reset conditions and that affects
framebuffer access. Check If baco dummy mode is set, unset it if so.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Le Ma <le.ma@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Asad Kamal <asad.kamal@amd.com>
Tested-by: Asad Kamal <asad.kamal@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nbio_v7_9.c