Re: [PATCH 1/4] drm/vmwgfx: Assign eviction priorities to resources

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Thomas,

On 2019/06/18, Thomas Hellström (VMware) wrote:
> From: Thomas Hellstrom <thellstrom@xxxxxxxxxx>
> 
> TTM provides a means to assign eviction priorities to buffer object. This
> means that all buffer objects with a lower priority will be evicted first
> on memory pressure.
> Use this to make sure surfaces and in particular non-dirty surfaces are
> evicted first. Evicting in particular shaders, cotables and contexts imply
> a significant performance hit on vmwgfx, so make sure these resources are
> evicted last.
> Some buffer objects are sub-allocated in user-space which means we can have
> many resources attached to a single buffer object or resource. In that case
> the buffer object is given the highest priority of the attached resources.
> 
> Signed-off-by: Thomas Hellstrom <thellstrom@xxxxxxxxxx>
> Reviewed-by: Deepak Rawat <drawat@xxxxxxxxxx>
Fwiw patches 1-3 are:
Reviewed-by: Emil Velikov <emil.velikov@xxxxxxxxxxxxx>

Patch 4 is:
Acked-by: Emil Velikov <emil.velikov@xxxxxxxxxxxxx>

Huge thanks for sorting this out.
Emil
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux