drm/amdgpu: Fix failure when switching to DPX mode
authorMukul Joshi <mukul.joshi@amd.com>
Thu, 29 Sep 2022 16:07:49 +0000 (12:07 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:46:54 +0000 (09:46 -0400)
commitcb30544e3cadf2164a123859519521dc474d21eb
tree234195bafbc2930c41753190ab3e4d1c9f034b8f
parent02ee3b02d77661c593c7b0e49f5baa4aa0974024
drm/amdgpu: Fix failure when switching to DPX mode

Fix the if condition which causes dynamic repartitioning
to fail when trying to switch to DPX mode.

Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
Reviewed-by: Amber Lin <Amber.Lin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c