[Intel-gfx] [PATCH 3/7] drm/i915: Cache ringbuffer GTT address

Tvrtko Ursulin tvrtko.ursulin at linux.intel.com
Mon Jan 11 07:06:39 PST 2016


On 11/01/16 14:31, Chris Wilson wrote:
> On Mon, Jan 11, 2016 at 02:08:37PM +0000, Tvrtko Ursulin wrote:
>> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
>>
>> Purpose is to avoid calling i915_gem_obj_ggtt_offset from the
>> interrupt context without the big lock held.
>
> No. Tracking the pinned VMA has none of these problems.

This patch has problems which VMA tracking does not? I think address is 
simpler for time being and good enough. It is a subset of the VMA and 
the lifetime is the same.

Regards,

Tvrtko


More information about the Intel-gfx mailing list