linux/drivers/gpu/drm/i915/gt
Stuart Summers 1ac159e23c drm/i915: Expand subslice mask
Currently, the subslice_mask runtime parameter is stored as an
array of subslices per slice. Expand the subslice mask array to
better match what is presented to userspace through the
I915_QUERY_TOPOLOGY_INFO ioctl. The index into this array is
then calculated:
  slice * subslice stride + subslice index / 8

v2: fix spacing in set_sseu_info args
    use set_sseu_info to initialize sseu data when building
    device status in debugfs
    rename variables in intel_engine_types.h to avoid checkpatch
    warnings
v3: update headers in intel_sseu.h
v4: add const to some sseu_dev_info variables
    use sseu->eu_stride for EU stride calculations
v5: address review comments from Tvrtko and Daniele
v6: remove extra space in intel_sseu_get_subslices
    return the correct subslice enable in for_each_instdone
    add GEM_BUG_ON to ensure user doesn't pass invalid ss_mask size
    use printk formatted string for subslice mask
v7: remove string.h header and rebase

Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Stuart Summers <stuart.summers@intel.com>
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190524154022.13575-6-stuart.summers@intel.com
2019-05-28 11:20:32 -07:00
..
intel_breadcrumbs.c drm/i915: Seal races between async GPU cancellation, retirement and signaling 2019-05-08 16:02:41 +01:00
intel_context_types.h drm/i915: Rename intel_context.active to .inflight 2019-05-28 12:45:29 +01:00
intel_context.c drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00
intel_context.h drm/i915: Switch back to an array of logical per-engine HW contexts 2019-04-26 18:32:11 +01:00
intel_engine_cs.c drm/i915: Expand subslice mask 2019-05-28 11:20:32 -07:00
intel_engine_pm.c drm/i915/execlists: Flush the tasklet on parking 2019-05-03 11:35:31 +01:00
intel_engine_pm.h drm/i915/execlists: Flush the tasklet on parking 2019-05-03 11:35:31 +01:00
intel_engine_types.h drm/i915: Expand subslice mask 2019-05-28 11:20:32 -07:00
intel_engine.h drm/i915/guc: Updates for GuC 32.0.3 firmware 2019-05-28 10:07:02 +01:00
intel_gpu_commands.h
intel_gt_pm.c drm/i915: Invert the GEM wakeref hierarchy 2019-04-24 22:26:49 +01:00
intel_gt_pm.h drm/i915: Invert the GEM wakeref hierarchy 2019-04-24 22:26:49 +01:00
intel_hangcheck.c drm/i915: Expand subslice mask 2019-05-28 11:20:32 -07:00
intel_lrc_reg.h
intel_lrc.c drm/i915: Rename intel_context.active to .inflight 2019-05-28 12:45:29 +01:00
intel_lrc.h drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00
intel_mocs.c
intel_mocs.h
intel_reset.c drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00
intel_reset.h drm/i915: Invert the GEM wakeref hierarchy 2019-04-24 22:26:49 +01:00
intel_ringbuffer.c drm/i915: Drop the deferred active reference 2019-05-28 12:45:29 +01:00
intel_sseu.c drm/i915: Expand subslice mask 2019-05-28 11:20:32 -07:00
intel_sseu.h drm/i915: Expand subslice mask 2019-05-28 11:20:32 -07:00
intel_workarounds_types.h
intel_workarounds.c drm/i915: Expand subslice mask 2019-05-28 11:20:32 -07:00
intel_workarounds.h
Makefile
Makefile.header-test
mock_engine.c drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00
mock_engine.h drm/i915: Split engine setup/init into two phases 2019-04-26 18:32:07 +01:00
selftest_engine_cs.c
selftest_hangcheck.c drm/i915: Drop the deferred active reference 2019-05-28 12:45:29 +01:00
selftest_lrc.c drm/i915: Move GEM object domain management from struct_mutex to local 2019-05-28 12:45:29 +01:00
selftest_reset.c drm/i915/selftests: Use prepare/finish during atomic reset test 2019-05-23 21:58:36 +01:00
selftest_workarounds.c drm/i915: Drop the deferred active reference 2019-05-28 12:45:29 +01:00