Skip to content

drm/{i915, xe}: Make unclaimed mmio detection lockless and enable it for xe

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8drm/i915/de: Uninline intel_de_{read,write}_fw()drivers/gpu/drm/i915/display/intel_de.c drivers/gpu/drm/i915/display/intel_de.h+43 -301 reply
2/8drm/i915/de: Pimp the intel_de_{read,write}_fw() docsdrivers/gpu/drm/i915/display/intel_de.h+10 -33 replies
3/8drm/i915/de: Flatten the unclaimed mmio codedrivers/gpu/drm/i915/display/intel_de.c+29 -221 reply
4/8drm/i915/de: Make mmio_debug locklessdrivers/gpu/drm/i915/Kconfig.debug drivers/gpu/drm/i915/display/intel_de.c drivers/gpu/drm/i915/display/intel_de.h +3 more+34 -403 replies
5/8drm/i915/de: Optimize the mmio_debug checks in intel_de_{read, write}()drivers/gpu/drm/i915/display/intel_de.c+24 -201 reply
6/8drm/i915/de: Make display registers unlocked for TGL+ on i915drivers/gpu/drm/i915/display/intel_de.c+24 -21 reply
7/8drm/xe: Enable unclaimed register detection on xedrivers/gpu/drm/i915/display/intel_de.c+3 -21 reply
8/8drm/i915/de: Nuke driver_is_i915()drivers/gpu/drm/i915/display/intel_de.c+13 -321 reply

Reviews trailers per patch

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

PatchJani Nikula
1/8R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b
7/8A-b
8/8R-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/8] drm/{i915, xe}: Make unclaimed mmio detection lockless and enable it for xe

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

Make the unclaimed mmio detection lockless (albeit somewhat more racy), and enable it for xe. Also make TGL+ lockless on i915 (already was so on xe).

And I tossed in the deinlining of intel_de_{read,write}_fw() as well because the bloat has been bothering me for a while.

Ville Syrjälä (8):
drm/i915/de: Uninline intel_de_{read,write}_fw() drm/i915/de: Pimp the intel_de_{read,write}_fw() docs drm/i915/de: Flatten the unclaimed mmio code
drm/i915/de: Make mmio_debug lockless
drm/i915/de: Optimize the mmio_debug checks in intel_de_{read,write}() drm/i915/de: Make display registers unlocked for TGL+ on i915 drm/xe: Enable unclaimed register detection on xe drm/i915/de: Nuke driver_is_i915()

 drivers/gpu/drm/i915/Kconfig.debug            |   2 +-
 drivers/gpu/drm/i915/display/intel_de.c       | 220 +++++++++++-------
 drivers/gpu/drm/i915/display/intel_de.h       |  40 ++--
 .../gpu/drm/i915/display/intel_display_core.h |   7 +-
 .../drm/i915/display/intel_display_params.c   |   4 +-
 .../drm/i915/display/intel_display_params.h   |   2 +-
 6 files changed, 152 insertions(+), 123 deletions(-)
Signature · 1 line
2.56.0