]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit697e82d7a5f18e9ad4c7135e16d40a3ffe8ac7e7
tree822e8e91baf6cf7f962cdefdcce55d2ded4ccf51
parent39a2ab52a93203960d8e57ee11da91b1b13e36e4
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