lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <AANLkTikXwLSpO2WNKpC=7y7g13qx1cmyCOG7HSrOUgzt@mail.gmail.com>
Date:	Tue, 1 Mar 2011 13:40:38 +1000
From:	Dave Airlie <airlied@...il.com>
To:	Alan Cox <alan@...rguk.ukuu.org.uk>
Cc:	Alan Cox <alan@...ux.intel.com>, greg@...ah.com,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] gma500: Intel GMA500 staging driver

On Thu, Feb 24, 2011 at 10:10 PM, Alan Cox <alan@...rguk.ukuu.org.uk> 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,
http://git.kernel.org/?p=linux/kernel/git/airlied/drm-2.6.git;a=commit;h=ff72145badb834e8051719ea66e024784d000cb4

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:
> http://git.moblin.org/cgit.cgi/deprecated/xf86-video-psb/

Okay I'll try and have a look at that and see whats its doing.

Dave.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ