Re: TTM's role in score-based eviction

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

 



On Mon, 9 Dec 2013 23:45:12 +0100
Marek Olšák <maraeo@xxxxxxxxx> wrote:

> > Note that the hotness calculation will be in userspace, as only there
> > are the necessary counters available. So the finished hotness score
> > will be passed to the kernel, instead of sending all the necessary data
> > there. Ought to be less context switches that way.
> 
> This sounds good, but you will also need to update the DDX for
> everything up to and including Cayman. Hopefully the DDX doesn't emit
> IBs outside of glamor on Southern Islands and later chips.

Do you mean to pass an empty score (0) for 2d buffers, or that 2d
buffers should also get the calculation? I suppose this depends on
which ioctl is used to pass it.

IMHO for 2d use the current behavior is ok, so passing a dummy value
and falling back should be enough.

- Lauri
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://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