Re: [PATCH] gma500: Intel GMA500 staging driver
From: Dave Airlie
Date: Mon Feb 28 2011 - 22:40:44 EST
On Thu, Feb 24, 2011 at 10:10 PM, Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:
>> So where do we want to go my opinion is
>> a) remove all userspace interfaces and simplify ttm memory management usage.
> Some of them appear to be valid/sensible ones for querying mode data and
> config bits. I'm slowly pruning out the rest
>> b) add support to hook this up to the dumb ioctl so we can do trivial
>> generic front buffer allocation, so then a libkms + dumb kms
>> modesetting driver can work on it.
> What sort of dumb ioctl do you have in mind ?
Its already in my drm-next tree,
the idea being we can allocate and map a buffer that we can use for
doing dumb operations in an fbdev like manner,
the handles can be passed to the normal generic drm KMS ioctls. It
avoids simple userspaces having to know about the
per-driver GEM accel interfaces. Of course to add acceleration you
need to get off this interface but it at least means
getting something simple up and running with full KMS output control.
>> c) figure out how to add interface for acceleration users. Whether TTM
>> fence interfaces are required etc.
> The fencing seems to be solely for the various capture/acceleration bits
> for video as far as I can tell.
> It seems we need two things - issue a 2D command and stuff for
> transferring objects, although it's not clear that the latter is needed.
> The old X 2D code is at:
Okay I'll try and have a look at that and see whats its doing.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/