]> git.baikalelectronics.ru Git - kernel.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)
commit530a18b37b059f91ebca56493d10b6179cdf8d22
tree4a3dafc81563ddc237cacdf4ea5a08824d35a67a
parente823298fd791c018b7b222b9454a0498ac50a3d9
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