]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: More use of the cached LRC state
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 22 Jan 2016 12:42:47 +0000 (12:42 +0000)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Mon, 25 Jan 2016 10:55:19 +0000 (10:55 +0000)
commitaf6359674acf539c19c50f51c107f1de2e68e710
treec75cb71f5008ee076773326a4993950b8ad4ec9a
parent13044873a1b1881ac9730646c09a092a0fc4528e
drm/i915: More use of the cached LRC state

Since:

commit 116b7c01bd73ad744ea5a188ae6e6c16e0595142
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Fri Jan 15 17:12:45 2016 +0000

    drm/i915: Cache LRC state page in the context

and:

commit 397d39a015c59522a14e78b3fe1626c643605a61
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Fri Jan 15 15:10:28 2016 +0000

    drm/i915: Cache ringbuffer GTT VMA

We can also remove the ring buffer start updates on every
context update since the address will not change for the
duration of the LRC pin.

For GuC we can remove the update altogether because it
only cares about the ring buffer start.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Alex Dai <yu.dai@intel.com>
Cc: Dave Gordon <david.s.gordon@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/1453466567-33369-1-git-send-email-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/i915_guc_submission.c
drivers/gpu/drm/i915/intel_lrc.c