]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6e0d77f4e9daabcfb603af0d83a615f1c11adec2
tree8f9aeb6c991b9dcaf85bb75f4ea5c965d06a2d73
parente8f1fe0b90da93b6e9da5082a109672e17e1330a
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