]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Compartmentalize i915_gem_suspend/restore_gtt_mappings
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 21 Jun 2019 07:08:00 +0000 (08:08 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 21 Jun 2019 12:48:37 +0000 (13:48 +0100)
commitb5a69a4ee87b20998108aacea4234ac91051d948
treec909147e4e21bfba4d2cd4cbccf766c2156f1da7
parentb4ac46253bc9fe837e817b749a82ca69635d3aa4
drm/i915: Compartmentalize i915_gem_suspend/restore_gtt_mappings

Having made start to better code compartmentalization by introducing
struct intel_gt, continue the theme elsewhere in code by making functions
take parameters take what logically makes most sense for them instead of
the global struct drm_i915_private.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190621070811.7006-22-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/i915_gem_gtt.c