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)
commit77b04a0428ea83d000634f06eb3b37ee92d9f866
treec75cb71f5008ee076773326a4993950b8ad4ec9a
parent947eaebc318d63ada82901cea86c586ac3d854f0
drm/i915: More use of the cached LRC state

Since:

commit 82352e908acd36d7244c75a008c9f27a2ced44d5
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 0eb973d31d0aadb6bc801fd6d796afecbbfc3d5b
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
This page took 0.033649 seconds and 5 git commands to generate.