[PATCH v2 2/2] drm/vc4: Disable V3D interactions if the v3d component didn't probe.

Eric Anholt eric at anholt.net
Wed Apr 3 19:15:29 UTC 2019


Paul Kocialkowski <paul.kocialkowski at bootlin.com> writes:

> Hi,
>
> On Mon, 2019-04-01 at 11:35 -0700, Eric Anholt wrote:
>> One might want to use the VC4 display stack without using Mesa.
>> Similar to the debugfs fixes for not having all of the possible
>> display bits enabled, make sure you can't oops in vc4 if v3d isn't
>> enabled.
>
> Just thought about this: perhaps we should be returning -ENODEV instead
> of -EINVAL when !vc4->v3d, just so that the error is a bit more
> explicit to userspace?

I like it.  Doing that while applying the series.
-------------- 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/20190403/74a08aa4/attachment.sig>


More information about the dri-devel mailing list