ttm_bo_eviction_valuable wrong units?

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

 



if (place->fpfn >= (bo->mem.start + bo->mem.size) ||
            (place->lpfn && place->lpfn <= bo->mem.start))
                return false;

Should the bo->mem.size there be bo->mem.num_pages?

I was just writing patches to get rid of size and noticed this.

Dave.
_______________________________________________
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