Re: [PATCH v2 0/3] ast, mgag200: Map console BO while it's being displayed

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

 



On Thu, Sep 5, 2019 at 9:01 AM Gerd Hoffmann <kraxel@xxxxxxxxxx> wrote:
>
>   Hi,
>
> > - imo we should fix this by using the io_mapping stuff, that avoids
> > the overhead of repeated pat checks for map/unmap.
>
> Another idea:  IIRC ttm has a move_notify callback.  So we could simply
> keep mappings active even when the refcount goes down to zero.  Then do
> the actual unmap either in the move_notify or in the destroy callback.

Yeah that should be a really clean solution, and only needs changes in
the vram helpers. Which is nice, more common code!
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
_______________________________________________
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