Skip to content

Add support for querying hw info that UMDs need

[email protected] dri-devel intel-gfx oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/i915/guc: Add fetch of hwconfig tabledrivers/gpu/drm/i915/Makefile drivers/gpu/drm/i915/gt/intel_hwconfig_types.h drivers/gpu/drm/i915/gt/uc/abi/guc_actions_abi.h +6 more+304 -12 replies
2/3drm/i915/uapi: Add query for hwconfig tabledrivers/gpu/drm/i915/i915_query.c include/uapi/drm/i915_drm.h+24 -02 replies
3/3drm/i915/uapi: Add query for L3 bank countdrivers/gpu/drm/i915/gt/intel_gt.c drivers/gpu/drm/i915/gt/intel_gt.h drivers/gpu/drm/i915/i915_query.c +2 more+40 -07 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchMatthew Brost
1/3
2/3R-b
3/3R-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] Add support for querying hw info that UMDs need

From: John Harrison <[email protected]>

Various UMDs require hardware configuration information about the current platform. A bunch of static information is available in a fixed table that can be retrieved from the GuC. Further information can be calculated dynamically from fuse registers.

John Harrison (2):
drm/i915/guc: Add fetch of hwconfig table
drm/i915/uapi: Add query for L3 bank count

Rodrigo Vivi (1):
drm/i915/uapi: Add query for hwconfig table

 drivers/gpu/drm/i915/Makefile                 |   1 +
 drivers/gpu/drm/i915/gt/intel_gt.c            |  15 ++
 drivers/gpu/drm/i915/gt/intel_gt.h            |   1 +
 .../gpu/drm/i915/gt/intel_hwconfig_types.h    | 102 +++++++++++
 .../gpu/drm/i915/gt/uc/abi/guc_actions_abi.h  |   1 +
 .../gpu/drm/i915/gt/uc/abi/guc_errors_abi.h   |   4 +
 drivers/gpu/drm/i915/gt/uc/intel_guc.c        |   3 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc.h        |   2 +
 .../gpu/drm/i915/gt/uc/intel_guc_hwconfig.c   | 167 ++++++++++++++++++
 .../gpu/drm/i915/gt/uc/intel_guc_hwconfig.h   |  19 ++
 drivers/gpu/drm/i915/gt/uc/intel_uc.c         |   6 +
 drivers/gpu/drm/i915/i915_query.c             |  45 +++++
 drivers/gpu/drm/i915/i915_reg.h               |   1 +
 include/uapi/drm/i915_drm.h                   |   2 +
 14 files changed, 368 insertions(+), 1 deletion(-)
 create mode 100644 drivers/gpu/drm/i915/gt/intel_hwconfig_types.h
 create mode 100644 drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c
 create mode 100644 drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.h
Signature · 1 line
2.25.1