Skip to content

drm/i915: call irq and rps through the parent interface

Jani Nikula intel-gfx intel-xe 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10drm/{i915, xe}/display: duplicate gen2 irq/error init/reset in display irqdrivers/gpu/drm/i915/display/intel_display_irq.c drivers/gpu/drm/xe/display/ext/i915_irq.c+73 -760 replies
2/10drm/i915/display: convert the display irq interfaces to struct intel_displaydrivers/gpu/drm/i915/display/intel_display_irq.c+68 -1160 replies
3/10drm/{i915, xe}/display: move irq calls to parent interfacedrivers/gpu/drm/i915/Makefile drivers/gpu/drm/i915/display/intel_display_irq.c drivers/gpu/drm/i915/display/intel_display_power.c +15 more+119 -791 reply
4/10drm/i915: add .vgpu_active to parent interfacedrivers/gpu/drm/i915/display/intel_crtc.c drivers/gpu/drm/i915/display/intel_fbc.c drivers/gpu/drm/i915/display/intel_parent.c +4 more+20 -251 reply
5/10drm/i915: add .fence_support_legacy to parent interfacedrivers/gpu/drm/i915/display/intel_fbc.c drivers/gpu/drm/i915/display/intel_parent.c drivers/gpu/drm/i915/display/intel_parent.h +3 more+18 -174 replies
6/10drm/i915/rps: store struct dma_fence in struct wait_rps_boostdrivers/gpu/drm/i915/display/intel_display_rps.c+4 -41 reply
7/10drm/i915/rps: call RPS functions via the parent interfacedrivers/gpu/drm/i915/display/intel_display_rps.c drivers/gpu/drm/i915/display/intel_parent.c drivers/gpu/drm/i915/display/intel_parent.h +4 more+93 -163 replies
8/10drm/i915/rps: postpone i915 fence check to boostdrivers/gpu/drm/i915/display/intel_display_rps.c drivers/gpu/drm/i915/gt/intel_rps.c+6 -52 replies
9/10drm/i915: add .fence_priority_display to parent interfacedrivers/gpu/drm/i915/display/intel_parent.c drivers/gpu/drm/i915/display/intel_parent.h drivers/gpu/drm/i915/display/intel_plane.c +3 more+20 -162 replies
10/10drm/xe/rps: build RPS as part of xedrivers/gpu/drm/i915/display/intel_display_rps.h drivers/gpu/drm/xe/Makefile+1 -211 reply

Reviews trailers per patch

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

PatchVille Syrjälä
1/10R-b
2/10R-b
3/10R-b
4/10R-b
5/10R-b
6/10R-b
7/10R-b
8/10aReviewed-by R-b
9/10R-b R-b
10/10R-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 00/10] drm/i915: call irq and rps through the parent interface

Join series [1] and [2] together, converging on having the intel_parent.[ch] wrappers. Also added a couple more patches for individual functions in the interface.

[1] https://lore.kernel.org/r/[email protected]
[2] https://lore.kernel.org/r/[email protected]

Jani Nikula (10):
drm/{i915,xe}/display: duplicate gen2 irq/error init/reset in display
irq
drm/i915/display: convert the display irq interfaces to struct
intel_display
drm/{i915,xe}/display: move irq calls to parent interface drm/i915: add .vgpu_active to parent interface
drm/i915: add .fence_support_legacy to parent interface drm/i915/rps: store struct dma_fence in struct wait_rps_boost drm/i915/rps: call RPS functions via the parent interface drm/i915/rps: postpone i915 fence check to boost
drm/i915: add .fence_priority_display to parent interface drm/xe/rps: build RPS as part of xe

 drivers/gpu/drm/i915/Makefile                 |   1 +
 drivers/gpu/drm/i915/display/intel_crtc.c     |   6 +-
 .../gpu/drm/i915/display/intel_display_irq.c  | 191 +++++++++---------
 .../drm/i915/display/intel_display_power.c    |   5 +-
 .../i915/display/intel_display_power_well.c   |  15 +-
 .../gpu/drm/i915/display/intel_display_rps.c  |  34 ++--
 .../gpu/drm/i915/display/intel_display_rps.h  |  21 --
 drivers/gpu/drm/i915/display/intel_fbc.c      |  13 +-
 drivers/gpu/drm/i915/display/intel_gmbus.c    |   6 +-
 drivers/gpu/drm/i915/display/intel_hotplug.c  |   6 +-
 .../gpu/drm/i915/display/intel_lpe_audio.c    |   1 -
 drivers/gpu/drm/i915/display/intel_parent.c   |  72 +++++++
 drivers/gpu/drm/i915/display/intel_parent.h   |  26 +++
 drivers/gpu/drm/i915/display/intel_pipe_crc.c |   6 +-
 drivers/gpu/drm/i915/display/intel_plane.c    |   5 +-
 drivers/gpu/drm/i915/gt/intel_rps.c           |  39 ++++
 drivers/gpu/drm/i915/gt/intel_rps.h           |   2 +
 drivers/gpu/drm/i915/i915_driver.c            |  22 ++
 drivers/gpu/drm/i915/i915_irq.c               |  16 ++
 drivers/gpu/drm/i915/i915_irq.h               |   2 +
 drivers/gpu/drm/xe/Makefile                   |   6 +-
 .../compat-i915-headers/gem/i915_gem_object.h |  13 --
 .../compat-i915-headers/gt/intel_gt_types.h   |  11 -
 .../gpu/drm/xe/compat-i915-headers/i915_irq.h |   6 -
 .../drm/xe/compat-i915-headers/i915_vgpu.h    |  18 --
 drivers/gpu/drm/xe/display/ext/i915_irq.c     |  85 --------
 drivers/gpu/drm/xe/display/xe_display.c       |  18 ++
 include/drm/intel/display_parent_interface.h  |  27 +++
 28 files changed, 360 insertions(+), 313 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/intel_parent.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_parent.h
 delete mode 100644 drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_object.h
 delete mode 100644 drivers/gpu/drm/xe/compat-i915-headers/gt/intel_gt_types.h
 delete mode 100644 drivers/gpu/drm/xe/compat-i915-headers/i915_irq.h
 delete mode 100644 drivers/gpu/drm/xe/compat-i915-headers/i915_vgpu.h
 delete mode 100644 drivers/gpu/drm/xe/display/ext/i915_irq.c
Signature · 1 line
2.47.3