[Intel-gfx] [PATCH 0/3] Export GT config attributes

jeff.mcgee at intel.com jeff.mcgee at intel.com
Thu Dec 18 09:41:53 PST 2014


From: Jeff McGee <jeff.mcgee at intel.com>

The motivation for this change is that fusing can be used to create
multiple slice, subslice, and EU configuration within the same PCI
ID. CHV is the first such device to do this and thus make an ID-based
lookup table approach unreliable. The best solution is for the kernel
to determine the precise config from fuse registers and share the
required information with userspace. Moving to this approach has the
added benefit of reducing the number of static parameters that
userspace must maintain for current and future devices.

I'll be posting the libdrm and igt components next. I'm in the
process of collecting userspace support for this new interface.
I think the basic idea here is clear. With regards to which
attributes should be included, I am just starting with these 4. I can
add or remove attributes based on the feedback from userspace.
Please provide any comments. Thanks

Jeff McGee (3):
  drm/i915: Export GT config attributes
  drm/i915/chv: Determine CHV GT config attributes
  drm/i915/bdw: Determine BDW GT config attributes

 drivers/gpu/drm/i915/i915_dma.c | 56 +++++++++++++++++++++++++++++++++++++++++
 drivers/gpu/drm/i915/i915_drv.h |  5 ++++
 drivers/gpu/drm/i915/i915_reg.h | 24 ++++++++++++++++++
 include/uapi/drm/i915_drm.h     |  4 +++
 4 files changed, 89 insertions(+)

-- 
2.2.0



More information about the Intel-gfx mailing list