Skip to content

RFC Display experiment + GuC Display Metrics

Rodrigo Vivi intel-gfx intel-xe 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/i915/display: Introduce intel_display_guc_metricsdrivers/gpu/drm/i915/Makefile drivers/gpu/drm/i915/display/intel_display.c drivers/gpu/drm/i915/display/intel_display_core.h +6 more+234 -10 replies
2/3drm/i915: Add experimental GuC SLPC display metricsdrivers/gpu/drm/i915/gt/intel_rps.c drivers/gpu/drm/i915/gt/uc/abi/guc_actions_slpc_abi.h drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c +4 more+345 -100 replies
3/3drm/xe: Add GuC SLPC Display Metricsdrivers/gpu/drm/xe/abi/guc_actions_slpc_abi.h drivers/gpu/drm/xe/xe_gt_debugfs.c drivers/gpu/drm/xe/xe_guc_pc.c +2 more+412 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/3] Display experiment + GuC Display Metrics

First of all, I'm sorry if this is hitting your inbox twice. I could swear that I had sent this 2 weeks ago, but I couldn't find the lore or patchwork, so let me try again.

This series is a double experiment that I would like to get some help.

1. Display - shared display between i915 and xe without a need for the compat-layer. With this registration method with a void * to the device driver we can at least start to get rid of the compat layer and the nasty -Ddrm_i915_private=xe_device
And perhaps move from this to a more standalone solution later.

So, thoughts?

2. GuC SLPC display metrics. On this I need some help to check the functionality of SLPC, debug GuC and some eyes to see if the place of the display side is the best one.

From what I could see with the debugfs view added in this patch, the shared buffer gets properly updated with the display metrics and that is in sync with the display refresh rate and the fame per second information that I get to see in the screen. However for the workloads that I used here I didn't like the end result. The extra register read in the middle of the display critical areas seems to cause more harm then good for the cases I got.

So, with this I need help with guc-debug, reviews, ideas.

Thanks in advance,
Rodrigo.

Rodrigo Vivi (3):
drm/i915/display: Introduce intel_display_guc_metrics drm/i915: Add experimental GuC SLPC display metrics drm/xe: Add GuC SLPC Display Metrics

 drivers/gpu/drm/i915/Makefile                 |   1 +
 drivers/gpu/drm/i915/display/intel_display.c  |  14 +-
 .../gpu/drm/i915/display/intel_display_core.h |   2 +
 .../i915/display/intel_display_guc_metrics.c  | 153 ++++++++
 .../i915/display/intel_display_guc_metrics.h  |  26 ++
 .../display/intel_display_guc_metrics_types.h |  32 ++
 .../gpu/drm/i915/display/intel_display_irq.c  |   3 +
 .../drm/i915/display/skl_universal_plane.c    |   3 +
 drivers/gpu/drm/i915/gt/intel_rps.c           |   9 +
 .../drm/i915/gt/uc/abi/guc_actions_slpc_abi.h |  59 +++
 drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c   | 271 +++++++++++++-
 drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.h   |   6 +
 .../gpu/drm/i915/gt/uc/intel_guc_slpc_types.h |   4 +
 drivers/gpu/drm/i915/i915_params.c            |   2 +-
 drivers/gpu/drm/i915/i915_params.h            |   4 +-
 drivers/gpu/drm/xe/Makefile                   |   1 +
 drivers/gpu/drm/xe/abi/guc_actions_slpc_abi.h |  59 +++
 drivers/gpu/drm/xe/xe_gt_debugfs.c            |  11 +
 drivers/gpu/drm/xe/xe_guc_pc.c                | 343 +++++++++++++++++-
 drivers/gpu/drm/xe/xe_guc_pc.h                |   3 +
 drivers/gpu/drm/xe/xe_guc_pc_types.h          |   2 +
 21 files changed, 991 insertions(+), 17 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/intel_display_guc_metrics.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_display_guc_metrics.h
 create mode 100644 drivers/gpu/drm/i915/display/intel_display_guc_metrics_types.h
Signature · 1 line
2.43.2