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>
Wed, 30 Aug 2023 18:59:16 +0000 (14:59 -0400)
commit36b0f88988beecea6723d70fbde5b16939bf7543
treeef7e6787e6e81c5e4162f492e4a4784dde684e6e
parent0b9dc439f4046ef9e43f54989f6c3ff6cddc6d1b
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