drm/i915: tidy up a few leftovers
authorDave Gordon <david.s.gordon@intel.com>
Tue, 19 Jan 2016 19:02:55 +0000 (19:02 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 21 Jan 2016 08:21:29 +0000 (09:21 +0100)
commite28e404c3e93378c6ef3e2e6c9c5b1ab51e54bc4
tree8f9aeb6c991b9dcaf85bb75f4ea5c965d06a2d73
parented54c1a1d11cbc09a3cc14f8fc1a0fb129efb64d
drm/i915: tidy up a few leftovers

There are a few bits of code which the transformations implemented by
the previous patch reveal to be suboptimal, once the notion of a per-
ring default context has gone away. So this tidies up the leftovers.

It could have been squashed into the previous patch, but that would have
made that patch less clearly a simple transformation. In particular, any
change which alters the code block structure or indentation has been
deferred into this separate patch, because such things tend to make
diffs more difficult to read.

v4: Rebased

Signed-off-by: Dave Gordon <david.s.gordon@intel.com>
Reviewed-by: Nick Hoath <nicholas.hoath@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1453230175-19330-4-git-send-email-david.s.gordon@intel.com
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/intel_lrc.c