Re: some half-baked ttm ideas

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

 



On Wed, 16 Sep 2020 at 14:19, Dave Airlie <airlied@xxxxxxxxx> wrote:
>
> On Wed, 16 Sep 2020 at 00:12, Christian König
> <ckoenig.leichtzumerken@xxxxxxxxx> wrote:
> >
> > Hi Dave,
> >
> > I think we should just completely nuke ttm_tt_bind() and ttm_tt_unbind()
> > and all of that.
> >
> > Drivers can to this from their move_notify() callback now instead.
>
> Good plan, I've put a bunch of rework into the same branch,
>
> https://github.com/airlied/linux/commits/ttm-half-baked-ideas
>
> but I've fried my brain a bit, I'm having trouble reconciling move
> notify and unbinding in the right places, I feel like I'm circling
> around the answer but haven't hit it yet.

drm/ttm: add unbind to move notify paths.

In that tree is incorrect and I think where things fall apart, since
if we are moving TTM to VRAM that will unbind the TTM object from the
GTT at move notify time before the move has executed.

I'm feeling a move_complete_notify might be an idea, but I'm wondering
if it's a bad idea.

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