aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorSamson Tam <[email protected]>2024-10-16 18:11:35 +0000
committerAlex Deucher <[email protected]>2024-10-28 20:36:04 +0000
commitc56c0aca0a0ebb67cc9a609b4361b36dc2adb7c3 (patch)
tree30dddada90b15d78605f7dab992f07ef6474d063 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/amd/display: Fix underflow when playing 8K video in full screen mode (diff)
downloadkernel-c56c0aca0a0ebb67cc9a609b4361b36dc2adb7c3.tar.gz
kernel-c56c0aca0a0ebb67cc9a609b4361b36dc2adb7c3.zip
drm/amd/display: fix handling of max_downscale_src_width fail check in SPL
[Why] If max_downscale_src_width check fails, we exit early from spl_calculate_scaler_params but dscl_prog_data is not fully populated. If viewport is left at 0, it can cause crash in dml. [How] Call spl_set_dscl_prog_data before we exit early from spl_calculate_scaler_params to populate dscl_prog_data Populate taps in spl_get_optimal_number_of_taps Reviewed-by: Alvin Lee <[email protected]> Signed-off-by: Samson Tam <[email protected]> Signed-off-by: Tom Chung <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions