aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
diff options
context:
space:
mode:
authorAurabindo Pillai <[email protected]>2024-09-03 14:10:44 +0000
committerAlex Deucher <[email protected]>2024-09-18 20:15:08 +0000
commitf510dd5c210bf8cc22e4be48cbbda3cb754219f5 (patch)
tree3f943a72e20c8c651d87542eb258f69f06339411 /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
parentdrm/amd/display: Remove always-false branches (diff)
downloadkernel-f510dd5c210bf8cc22e4be48cbbda3cb754219f5.tar.gz
kernel-f510dd5c210bf8cc22e4be48cbbda3cb754219f5.zip
drm/amd/display: Fix underflow when setting underscan on DCN401
[WHY & HOW] When underscan is set through xrandr, it causes the stream destination rect to change in a way it becomes complicated to handle the calculations for subvp. Since this is a corner case, disable subvp when underscan is set. Fix the existing check that is supposed to catch this corner case by adding a check based on the parameters in the stream Cc: Mario Limonciello <[email protected]> Cc: Alex Deucher <[email protected]> Cc: [email protected] Reviewed-by: Dillon Varone <[email protected]> Reviewed-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Aurabindo Pillai <[email protected]> Signed-off-by: Alex Hung <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c')
0 files changed, 0 insertions, 0 deletions