OSDN Git Service

drm/i915/guc: Remove one unnecessary variable
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Tue, 21 Jun 2016 14:07:14 +0000 (15:07 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Tue, 21 Jun 2016 14:43:32 +0000 (15:43 +0100)
commit612515121b3e64f3bb060076d1799f1ce943630f
tree4f6a4bb68b480a039584cb88fdbe2e5674e14f73
parentee648a74db486360ad34d13b740f5237f191320f
drm/i915/guc: Remove one unnecessary variable

No need for local struct drm_device * since dev_priv is the
correct thing to pass in to NEEDS_WaRsDisableCoarsePowerGating
anyway. Changed the macro definition for the latter to reflect
that as well.

v2: Alignment bikeshed.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Dave Gordon <david.s.gordon@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1466518034-24838-1-git-send-email-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_guc_submission.c