diff options
author | Dave Gordon <david.s.gordon@intel.com> | 2016-08-09 15:19:23 +0100 |
---|---|---|
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2016-08-10 10:40:05 +0100 |
commit | 774439e12b53daff3c97d71669a233d6e5290e79 (patch) | |
tree | 42f4392b028ad97cd51789f67e4a0af4117c7cf1 /drivers/gpu/drm/i915/intel_guc.h | |
parent | c18468c4b2dbf08854dba4f041c8c1845bf0cc9c (diff) | |
download | linux-stable-774439e12b53daff3c97d71669a233d6e5290e79.tar.gz linux-stable-774439e12b53daff3c97d71669a233d6e5290e79.tar.bz2 linux-stable-774439e12b53daff3c97d71669a233d6e5290e79.zip |
drm/i915/guc: re-optimise i915_guc_client layout
As we're tweaking the GuC-related code in debugfs, we can
drop the no-longer-used 'q_fail' and repack the structure.
Signed-off-by: Dave Gordon <david.s.gordon@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_guc.h')
-rw-r--r-- | drivers/gpu/drm/i915/intel_guc.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/drm/i915/intel_guc.h b/drivers/gpu/drm/i915/intel_guc.h index e57661ff0079..26f3d9c08120 100644 --- a/drivers/gpu/drm/i915/intel_guc.h +++ b/drivers/gpu/drm/i915/intel_guc.h @@ -71,19 +71,17 @@ struct i915_guc_client { uint32_t engines; /* bitmap of (host) engine ids */ uint32_t priority; uint32_t ctx_index; - uint32_t proc_desc_offset; + uint32_t doorbell_offset; uint32_t cookie; uint16_t doorbell_id; - uint16_t padding; /* Maintain alignment */ + uint16_t padding[3]; /* Maintain alignment */ uint32_t wq_offset; uint32_t wq_size; uint32_t wq_tail; - uint32_t no_wq_space; - uint32_t q_fail; /* No longer used */ uint32_t b_fail; int retcode; |