]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Extract CSB status read
authorBen Widawsky <benjamin.widawsky@intel.com>
Tue, 5 Jan 2016 18:30:07 +0000 (10:30 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 7 Jan 2016 14:34:41 +0000 (15:34 +0100)
commitd970e3846d066871278a74297e0921ecf1eee9f7
treecfbe814f4b7c03cdf725d93aef172971c7a98727
parent0e9e0d4dbee144ee565546739611e9a1f172917a
drm/i915: Extract CSB status read

This is a useful thing to have around as a function because the mechanism may
change in the future.

There is a net increase in LOC here, and it will continue to be the case on GEN8
and GEN9 - but future GENs may have an alternate mechanism for doing this.

Signed-off-by: Ben Widawsky <benjamin.widawsky@intel.com>
Reviewed-by: Michel Thierry <michel.thierry@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1452018609-10142-4-git-send-email-benjamin.widawsky@intel.com
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_lrc.c