drm/i915: Introduce struct intel_gt as replacement for anonymous i915->gt
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 21 Jun 2019 07:07:40 +0000 (08:07 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 21 Jun 2019 12:48:14 +0000 (13:48 +0100)
commite5be5c7a8ffa8471fb31554cf56f3efd11f7e454
treece6e60a09f1b8b84e25dc9e1f0c338135ab47a23
parent3cb4ce0024f1e24f7da96ed1d02430c407de13fa
drm/i915: Introduce struct intel_gt as replacement for anonymous i915->gt

We have long been slighlty annoyed by the anonymous i915->gt.

Promote it to a separate structure and give it its own header.

This is a first step towards cleaning up the separation between
i915 and gt.

v2:
 * Adjust SPDX header.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190621070811.7006-2-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/gt/intel_gt_types.h [new file with mode: 0644]
drivers/gpu/drm/i915/i915_drv.h