[Intel-gfx] [PATCH 1/4] drm/i915: Clearing buffer objects via CPU/GTT

Tvrtko Ursulin tvrtko.ursulin at linux.intel.com
Wed Jul 22 08:16:20 PDT 2015


On 07/22/2015 04:06 PM, Chris Wilson wrote:
> On Wed, Jul 22, 2015 at 04:01:33PM +0100, Tvrtko Ursulin wrote:
>> This I don't understand. Why it is OK to release a fence and never
>> re-establish it? Could that surprise some callers?
>
> We always call get_fence() before we need it (and pin it as required),
> because it can be revoked at anytime as they are a scarce resource.

Oookay, and why it is important to release it here? Does it warrant a 
comment or everyone knows this?

Regards,

Tvrtko


More information about the Intel-gfx mailing list