Skip to content

drm/i915: uapi vs. hw state fixes

Ville Syrjala intel-gfx intel-xe 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6drm/i915: Use the proper (hw.crtc) for the cursor unpin vblank workerdrivers/gpu/drm/i915/display/intel_crtc.c drivers/gpu/drm/i915/display/intel_plane.c+3 -30 replies
2/6drm/i915/psr: Use hw.crtc instead of uapi.crtcdrivers/gpu/drm/i915/display/intel_psr.c+3 -30 replies
3/6drm/i915/psr: Use hw.rotation instead of uapi.rotationdrivers/gpu/drm/i915/display/intel_psr.c+1 -10 replies
4/6drm/i915: Use hw.active instead of uapi.active in the initial plane readoutdrivers/gpu/drm/i915/display/intel_plane_initial.c drivers/gpu/drm/xe/display/xe_plane_initial.c+8 -40 replies
5/6drm/i915/panic: Get the crtc from the correct placedrivers/gpu/drm/i915/display/intel_plane.c+2 -10 replies
6/6drm/i915/panic: Clean up the variablesdrivers/gpu/drm/i915/display/intel_plane.c drivers/gpu/drm/i915/display/intel_psr.c drivers/gpu/drm/i915/display/intel_psr.h+29 -330 replies

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJani Nikula
SeriesR-b
1/6
2/6
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] drm/i915: uapi vs. hw state fixes

From: Ville Syrjälä <[email protected]>

Spotted a few places using the uapi state when they most likely should have been using the hw state. Fix those up.

Ville Syrjälä (6):
drm/i915: Use the proper (hw.crtc) for the cursor unpin vblank worker drm/i915/psr: Use hw.crtc instead of uapi.crtc drm/i915/psr: Use hw.rotation instead of uapi.rotation drm/i915: Use hw.active instead of uapi.active in the initial plane
readout
drm/i915/panic: Get the crtc from the correct place drm/i915/panic: Clean up the variables

 drivers/gpu/drm/i915/display/intel_crtc.c     |  4 +-
 drivers/gpu/drm/i915/display/intel_plane.c    | 58 +++++++++----------
 .../drm/i915/display/intel_plane_initial.c    |  6 +-
 drivers/gpu/drm/i915/display/intel_psr.c      | 12 ++--
 drivers/gpu/drm/i915/display/intel_psr.h      |  3 +-
 drivers/gpu/drm/xe/display/xe_plane_initial.c |  6 +-
 6 files changed, 45 insertions(+), 44 deletions(-)
Signature · 1 line
2.49.1