drm/i915: Teach record_defaults to operate on the intel_gt
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 22 Oct 2019 14:19:35 +0000 (15:19 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 22 Oct 2019 19:43:07 +0000 (20:43 +0100)
commitae2e28b02630072134392e75b1062eef69aeeff8
tree822e8e91baf6cf7f962cdefdcce55d2ded4ccf51
parent7867d709959927e5df04a34f98880e5e394b411d
drm/i915: Teach record_defaults to operate on the intel_gt

Again we wish to operate on the engines, which are owned by the
intel_gt. As such it is easier, and much more consistent, to pass the
intel_gt parameter.

v2: Unexport i915_gem_load_power_context()

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191022141935.15733-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/i915_gem_pm.c
drivers/gpu/drm/i915/gem/i915_gem_pm.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/selftests/i915_selftest.c