aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c
diff options
context:
space:
mode:
authorHamza Mahfooz <[email protected]>2023-10-26 15:50:45 +0000
committerAlex Deucher <[email protected]>2023-10-27 18:10:37 +0000
commit1efdd37cc015ed1cade8c1c12227ad25ebb17c77 (patch)
treefc8f0cbc37ddc5161279be023621722754c7ce34 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c
parentdrm/amdxcp: fix amdxcp unloads incompletely (diff)
downloadkernel-1efdd37cc015ed1cade8c1c12227ad25ebb17c77.tar.gz
kernel-1efdd37cc015ed1cade8c1c12227ad25ebb17c77.zip
drm/amd/display: fix S/G display enablement
An assignment statement was reversed during a refactor which effectively disabled S/G display outright. Since, we use adev->mode_info.gpu_vm_support to indicate to the rest of the driver that S/G display should be enabled and currently it is always set to false. So, to fix this set adev->mode_info.gpu_vm_support's value to that of init_data.flags.gpu_vm_support (and not vice versa). Fixes: 098c13079c6f ("drm/amd/display: enable S/G display for for recent APUs by default") Reported-by: Mark Broadworth <[email protected]> Tested-by: Mark Broadworth <[email protected]> Acked-by: Alex Deucher <[email protected]> Reviewed-by: Harry Wentland <[email protected]> Reviewed-by: Yifan Zhang <[email protected]> Signed-off-by: Hamza Mahfooz <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c')
0 files changed, 0 insertions, 0 deletions