drm/i915: Pull the GEM powermangement coupling into its own file
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 24 Apr 2019 20:07:14 +0000 (21:07 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 24 Apr 2019 21:25:28 +0000 (22:25 +0100)
commit23c3c3d04fa7fcc60c91f1368cc5652a6774626b
treeca635b7ded7f79a7dd40460c6b4505dc4610445f
parentd91e657876a96af4f00cc374e26a7a9e8c40d6de
drm/i915: Pull the GEM powermangement coupling into its own file

Split out the powermanagement portion (GT wakeref, suspend/resume) of
GEM from i915_gem.c into its own file.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190424200717.1686-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/Makefile.header-test
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_pm.c [new file with mode: 0644]
drivers/gpu/drm/i915/i915_gem_pm.h [new file with mode: 0644]
drivers/gpu/drm/i915/selftests/i915_gem_context.c
drivers/gpu/drm/i915/selftests/i915_gem_object.c
drivers/gpu/drm/i915/selftests/mock_gem_device.c