]> 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)
commitbea31fff0a2d2e3264d1ed9c7b2f047695f62f1b
tree4a3dafc81563ddc237cacdf4ea5a08824d35a67a
parentfbbe127f705c5134715ed1241442672d23eaa0b5
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