]> git.karo-electronics.de Git - linux-beck.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)
commit0daf556c1ba522fdaec330a4d4c93d58f2fc3695
treea23742f757de6ea177f288ca03cdf6866df91750
parente93da0a0137b14f94ab4f1b6d74ca7504e8cb065
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