]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Extract vfunc setup from logical ring initializers
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Tue, 12 Jan 2016 17:32:34 +0000 (17:32 +0000)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Wed, 13 Jan 2016 10:02:05 +0000 (10:02 +0000)
commitc9cacf9349ae4ce516627dac931766bfe98df793
tree4a3dafc81563ddc237cacdf4ea5a08824d35a67a
parentf11a0f46a2c32207a47322610ae4b214b5bab23e
drm/i915: Extract vfunc setup from logical ring initializers

Majority of them was duplicated code and only render ring
currently overrides some of them. We can save some lines of
code and also take away the confusion on why bsd2 did not
do the seqno coherency workaround. (VCS2 ring does not exist
on platforms where workaround is needed but that was not
documented in the code.)

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1452619956-27014-1-git-send-email-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/intel_lrc.c