aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/ast/ast_tables.h
diff options
context:
space:
mode:
authorManasi Navare <[email protected]>2021-10-04 04:59:13 -0700
committerManasi Navare <[email protected]>2022-01-24 21:28:22 -0800
commit5ec1cebd59300ddd26dbaa96c17c508764eef911 (patch)
tree149093a6bbcd7dbe19bd066759d9dde1df3297bc /drivers/gpu/drm/ast/ast_tables.h
parent016017a195b86d9761e91cb052438bf71207a12f (diff)
drm/atomic: Add the crtc to affected crtc only if uapi.enable = true
In case of a modeset where a mode gets split across multiple CRTCs in the driver specific implementation (bigjoiner in i915) we wrongly count the affected CRTCs based on the drm_crtc_mask and indicate the stolen CRTC as an affected CRTC in atomic_check_only(). This triggers a warning since affected CRTCs doent match requested CRTC. To fix this in such bigjoiner configurations, we should only increment affected crtcs if that CRTC is enabled in UAPI not if it is just used internally in the driver to split the mode. v3: Add the same uapi crtc_state->enable check in requested crtc calc (Ville) Cc: Ville Syrjälä <[email protected]> Cc: Simon Ser <[email protected]> Cc: Pekka Paalanen <[email protected]> Cc: Daniel Stone <[email protected]> Cc: Daniel Vetter <[email protected]> Cc: [email protected] Cc: <[email protected]> # v5.11+ Fixes: 919c2299a893 ("drm/i915: Enable bigjoiner") Signed-off-by: Manasi Navare <[email protected]> Reviewed-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/ast/ast_tables.h')
0 files changed, 0 insertions, 0 deletions