]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/guc: prefer 'dev_priv' to 'dev' for static functions
authorDave Gordon <david.s.gordon@intel.com>
Fri, 10 Jun 2016 17:29:25 +0000 (18:29 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Mon, 13 Jun 2016 15:47:39 +0000 (16:47 +0100)
commit37d5761448884beae900823e9ff7d390627cbb0e
treea23742f757de6ea177f288ca03cdf6866df91750
parent7cfc803098f280268fa0fd3b835777f06f0f2d57
drm/i915/guc: prefer 'dev_priv' to 'dev' for static functions

Convert all static functions in i915_guc_submission.c that currently
take a 'dev' pointer to take 'dev_priv' instead (there are three,
guc_client_alloc(), guc_client_free(), and gem_allocate_guc_obj().

Signed-off-by: Dave Gordon <david.s.gordon@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
drivers/gpu/drm/i915/i915_guc_submission.c