aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
diff options
context:
space:
mode:
authorAnkit Nautiyal <[email protected]>2025-02-27 03:41:06 +0000
committerJani Nikula <[email protected]>2025-03-20 16:27:17 +0000
commit32a43b6014662f1227c906c9de00886aecc0a508 (patch)
tree66d612fb21414bf0467a369809afa085e4457874 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
parentMerge tag 'drm-xe-next-fixes-2025-03-12' of https://gitlab.freedesktop.org/dr... (diff)
downloadkernel-32a43b6014662f1227c906c9de00886aecc0a508.tar.gz
kernel-32a43b6014662f1227c906c9de00886aecc0a508.zip
drm/i915/watermark: Check bounds for scaler_users for dsc prefill latency
Currently, during the computation of global watermarks, the latency for each scaler user is calculated to compute the DSC prefill latency. At this point, the number of scaler users can exceed the number of supported scalers, which is checked later in intel_atomic_setup_scalers(). This can cause issues when the number of scaler users exceeds the number of supported scalers. While checking for DSC prefill, ensure that the number of scaler users does not exceed the number of supported scalers. Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/4341 Fixes: a9b14af999b0 ("drm/i915/dsc: Check if vblank is sufficient for dsc prefill") Cc: Mitul Golani <[email protected]> Cc: Ankit Nautiyal <[email protected]> Cc: Jani Nikula <[email protected]> Signed-off-by: Ankit Nautiyal <[email protected]> Reviewed-by: Mitul Golani <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit 5d6c69b712f9cb34063ef32168ce6a12af8acf0c) Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions