]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/display: Warn on use_dsb in non-dsb pipe update functions
authorJouni Högander <jouni.hogander@intel.com>
Thu, 13 Feb 2025 06:47:59 +0000 (08:47 +0200)
committerJouni Högander <jouni.hogander@intel.com>
Fri, 14 Feb 2025 06:37:49 +0000 (08:37 +0200)
commit452c3fb857f8fe35544335d336eb6ee379ef9b30
treebfe2e3d79c8d32ec2c26380d122c5976c60f0a38
parente01cbca0ea603acd62dad647ec774e7a9e02a7a0
drm/i915/display: Warn on use_dsb in non-dsb pipe update functions

Add drm_WARN_ON(use_dsb) into commit_pipe_{pre,post}_planes() and
intel_pipe_update_{start,end}() as they are not supposed to get called on
non-dsb updates.

Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250213064804.2077127-9-jouni.hogander@intel.com
drivers/gpu/drm/i915/display/intel_crtc.c
drivers/gpu/drm/i915/display/intel_display.c