[Mesa-dev] [PATCH 2/4] pipe-loader: Fallback to kmsro driver when no matching driver name found

Eric Anholt eric at anholt.net
Fri Jan 25 05:31:30 UTC 2019


Eric Anholt <eric at anholt.net> writes:

> [ Unknown signature status ]
> Rob Herring <robh at kernel.org> writes:
>
>> If we can't find a driver matching by name, then use the kmsro driver.
>> This removes the need for needing a driver descriptor for every possible
>> KMS driver.
>>
>> Signed-off-by: Rob Herring <robh at kernel.org>
>
> Oh, very nice.
>
> There's some risk here -- for example, vkms (with prime enabled, which
> it doesn't currently) will fail badly at prime sharing buffers with
> hardware drivers doing WC mappings of buffers.  But I guess we should be
> preventing that at the kernel level when we enable prime, and having
> userspace maybe test creating a shared resource when loading kmsro with
> a particular backend.

That is to say,

Reviewed-by: Eric Anholt <eric at anholt.net>

If you've got display-only KMS and a render node, we should make sure
that Mesa glues those two together.
-------------- 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/mesa-dev/attachments/20190124/e45e92ac/attachment-0001.sig>


More information about the mesa-dev mailing list