[Intel-gfx] [PATCH v3 4/4] drm/i915: Use partial view in mmap fault handler

Tvrtko Ursulin tvrtko.ursulin at linux.intel.com
Wed May 6 05:33:33 PDT 2015



On 05/06/2015 12:36 PM, Joonas Lahtinen wrote:
>
> Use partial view for huge BOs (bigger than half the mappable aperture)
> in fault handler so that they can be accessed withough trying to make
> room for them by evicting other objects.
>
> v2:
> - Only use partial views in the case where early rejection was
>    previously done.
> - Account variable type changes from previous reroll.
> v3:
> - Add a comment about overwriting existing page entries.
>    (Tvrtko Ursulin)
> - Whitespace fixes.

Again I wish two vm_insert_pfn loops could be unified by making partial 
view a special case of normal, but as this is another area where 
imminent change has been hinted, and it doesn't matter hugely anyway:

Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

Regards,

Tvrtko


More information about the Intel-gfx mailing list