mbox series

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

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

Message

Hogander, Jouni Sept. 20, 2024, 6:23 a.m. UTC
v5:
  - s/vblank_work/vblank_dc_work/
  - changed type of block_dc_for_vblank to bool
v4:
  - do flush_work for vblank_work on intel_crtc_vblank_off
  - no need to use READ_ONCE in bdw_enable_vblank
  - check crtc->block_dc_for_vblank in bdw_disable_vblank as well
  - move adding block_dc_for_vblank into patch 2.
  - patch 1. scope changed
v3: check that encoder is dp
v2: set/clear block_dc6_needed in intel_crtc_vblank_on/off

Jouni Högander (2):
  drm/i915/psr: Add intel_psr_needs_block_dc_vblank for blocking dc
    entry
  drm/i915/display: Prevent DC6 while vblank is enabled for Panel Replay

 drivers/gpu/drm/i915/display/intel_crtc.c     |  7 +++++
 .../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    |  2 ++
 drivers/gpu/drm/i915/display/intel_psr.c      | 31 +++++++++++++++++++
 drivers/gpu/drm/i915/display/intel_psr.h      |  1 +
 6 files changed, 71 insertions(+)

Comments

Hogander, Jouni Sept. 23, 2024, 4:25 a.m. UTC | #1
On Fri, 2024-09-20 at 09:23 +0300, Jouni Högander wrote:
> v5:
>   - s/vblank_work/vblank_dc_work/
>   - changed type of block_dc_for_vblank to bool
> v4:
>   - do flush_work for vblank_work on intel_crtc_vblank_off
>   - no need to use READ_ONCE in bdw_enable_vblank
>   - check crtc->block_dc_for_vblank in bdw_disable_vblank as well
>   - move adding block_dc_for_vblank into patch 2.
>   - patch 1. scope changed
> v3: check that encoder is dp
> v2: set/clear block_dc6_needed in intel_crtc_vblank_on/off

These patches are now pushed to drm-intel-next. Thank you Ville for the
review.

BR,

Jouni Högander

> 
> Jouni Högander (2):
>   drm/i915/psr: Add intel_psr_needs_block_dc_vblank for blocking dc
>     entry
>   drm/i915/display: Prevent DC6 while vblank is enabled for Panel
> Replay
> 
>  drivers/gpu/drm/i915/display/intel_crtc.c     |  7 +++++
>  .../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    |  2 ++
>  drivers/gpu/drm/i915/display/intel_psr.c      | 31
> +++++++++++++++++++
>  drivers/gpu/drm/i915/display/intel_psr.h      |  1 +
>  6 files changed, 71 insertions(+)
>