Skip to content

drm/i915/de: Move register polling into display code

Ville Syrjala intel-gfx intel-xe llvm oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/i915/de: Introduce intel_de.c and move intel_de_{read, write}8() theredrivers/gpu/drm/i915/Makefile drivers/gpu/drm/i915/display/intel_de.c drivers/gpu/drm/i915/display/intel_de.h +1 more+28 -191 reply
2/3drm/i915/de: Move intel_de_wait*() into intel_de.cdrivers/gpu/drm/i915/display/intel_de.c drivers/gpu/drm/i915/display/intel_de.h+92 -791 reply
3/3drm/i915/de: Implement register polling in the display codedrivers/gpu/drm/i915/display/intel_de.c drivers/gpu/drm/xe/compat-i915-headers/intel_uncore.h+91 -394 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchJani Nikula
1/3R-b
2/3R-b
3/3R-b R-b

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/3] drm/i915/de: Move register polling into display code

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

Implement register polling directly in the display code In an effort to decouple the display code from i915/xe.

This is just the first step in a larger display mmio rework. My final aim is to move the entire mmio stuff into the display code. That will give us:
- better control over how things are done
- decouple display register locking from forcewake/etc
- less overhead. We access a lot of registers, and during vblank evasion critical section performance is especially important.
- unified RMbus unclaimed error checking for both i915 and xe

Ville Syrjälä (3):
drm/i915/de: Introduce intel_de.c and move intel_de_{read,write}8()
there
drm/i915/de: Move intel_de_wait*() into intel_de.c drm/i915/de: Implement register polling in the display code

 drivers/gpu/drm/i915/Makefile                 |   1 +
 drivers/gpu/drm/i915/display/intel_de.c       | 178 ++++++++++++++++++
 drivers/gpu/drm/i915/display/intel_de.h       | 121 +++---------
 drivers/gpu/drm/xe/Makefile                   |   1 +
 .../drm/xe/compat-i915-headers/intel_uncore.h |  31 ---
 5 files changed, 203 insertions(+), 129 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/intel_de.c
Signature · 1 line
2.52.0