[Letux-kernel] Lay common foundation to make PVR/SGX work without hacks on OMAP34xx, OMAP36xx, AM335x and potentially OMAP4, OMAP5
Tomi Valkeinen
tomi.valkeinen at ti.com
Wed Jan 24 08:57:40 CET 2018
On 23/01/18 19:56, H. Nikolaus Schaller wrote:
>
>> Am 23.01.2018 um 17:47 schrieb Tomi Valkeinen <tomi.valkeinen at ti.com>:
>>
>> On 23/01/18 18:22, H. Nikolaus Schaller wrote:
>>
>>>> Well, you can refer to
>>>>
>>>> https://dri.freedesktop.org/docs/drm/gpu/drm-uapi.html#open-source-userspace-requirements
>>>
>>> Interesting.
>>>
>>> But I don't see how it is related to OMAP-SGX at all (except that
>>> it is about a GFX subsystem).
>>>
>>> I understand that this is for the case we would plan to craft a proper
>>> DRM based solution so that DRM API and user space libs can be used.
>>
>> At least the latest SGX driver is DRM based.
>
> Is it DRM based or does it "use" DRM for allocating the framebuffer?
SGX appears as a DRM device, so yes, it is DRM based. To be more exact,
I think the kernel driver supports different options on how to compile
it. We configure it to be a DRM device.
> I have studied the code a little but did not yet understand how to use
> it. Tony has recommended to make this project more public to get help for
> making this work because someone may be able to help fixing it.
>
>> But true, the old driver
>> may not be.
>
> At least it has a -DDRM compile option. Maybe the 5.0 drivers need
> a little help by backporting things from 6.0.
>
> Or both can be merged by forward-porting sgx530 support into the 6.0
> drivers.
Hmm, I'm not familiar with these versions... Those are TI graphics SDK
versions, I presume? I think anything called "Graphics SDK" is quite
old. The latest SGX DDK is 1.14 which is, afaik, available in TI's
processor SDK or via the git branches I pointed to.
Tomi
--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
More information about the Letux-kernel
mailing list