]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/display: Fix Panel Replay vblank enable workaround
authorJouni Högander <jouni.hogander@intel.com>
Wed, 9 Oct 2024 13:42:25 +0000 (16:42 +0300)
committerJouni Högander <jouni.hogander@intel.com>
Tue, 15 Oct 2024 07:09:50 +0000 (10:09 +0300)
commit90380119ef273c9f333067b9881b4fe0fc138df1
treecea9538af622b5fefac61f879a30b9d077d278f4
parent54ab6d160de35c84bd17604c227d9c3b2d2f2274
drm/i915/display: Fix Panel Replay vblank enable workaround

Currently workaround is not applied when vblank is enabled on crtc that
needs the workaround if vblank is already enabled for another crtc that
doesn't need the workaround. Fix this by increasing counter only if crtc
needs the workaround.

Fixes: aa451abcffb5 ("drm/i915/display: Prevent DC6 while vblank is enabled for Panel Replay")
Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241009134225.1322820-2-jouni.hogander@intel.com
drivers/gpu/drm/i915/display/intel_display_irq.c