[PATCH 2/2] drm/pl111: Initial drm/kms driver for pl111
Eric Anholt
eric at anholt.net
Sat Mar 18 00:45:34 UTC 2017
Russell King - ARM Linux <linux at armlinux.org.uk> writes:
> On Fri, Mar 17, 2017 at 03:47:42PM -0700, Eric Anholt wrote:
>> This is a modesetting driver for the pl111 CLCD display controller
>> found on various ARM platforms such as the Versatile Express. The
>> driver has only been tested on the bcm911360_entphn platform so far,
>> with PRIME-based buffer sharing between vc4 and clcd.
>>
>> It reuses the existing devicetree binding, while not using quite as
>> many of its properties as the fbdev driver does (those are left for
>> future work).
>
> As we're multiplatform on ARM, and this is using the PL11x AMBA IDs,
> we must ensure that it's compatible with everything that the fbdev
> driver is compatible with... however, I suspect that's not worth the
> effort (unless Linus W wants it?)
>
> If we make it PL111 specific, then we don't need to handle Integrator
> CP, or the Versatile PB/AB weirdness. The only thing left is the
> power etc enable bits on Realview which uses the PL111. See the
> code for Realview in drivers/video/fbdev/amba-clcd-versatile.c.
Restricting to PL111 for now sounds good to me.
Those Realview bits look like they're turning on a power domain --
shouldn't we represent those as a regulator or a power domain? If we
did, then plugging that into a panel driver sounds straightforward.
(that's assuming that they're powering panel. not the controller -- I
can't quite tell from the code I've browsed so far)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170317/0f0d56c9/attachment.sig>
More information about the dri-devel
mailing list