mbox series

[v2,0/2] Block DC6 on Vblank enable for Panel Replay

Message ID 20240916074320.2108380-1-jouni.hogander@intel.com (mailing list archive)
Headers show
Series Block DC6 on Vblank enable for Panel Replay | expand

Message

Hogander, Jouni Sept. 16, 2024, 7:43 a.m. UTC
We need to block DC6 entry in case of Panel Replay as enabling VBI doesn't
prevent DC6 in case of Panel Replay. This causes problems if user-space is
polling for vblank events.

v2: set/clear block_dc6_needed in intel_crtc_vblank_on/off

Jouni Högander (2):
  drm/i915/display: Add block_dc6_needed variable into intel_crtc
  drm/i915/display: Prevent DC6 while vblank is enabled for Panel Replay

 drivers/gpu/drm/i915/display/intel_crtc.c     | 12 ++++++++
 .../gpu/drm/i915/display/intel_display_core.h |  2 ++
 .../gpu/drm/i915/display/intel_display_irq.c  | 28 +++++++++++++++++++
 .../drm/i915/display/intel_display_types.h    |  7 +++++
 drivers/gpu/drm/i915/display/intel_psr.c      |  1 +
 5 files changed, 50 insertions(+)