[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 01:17:33 UTC 2019


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.
-------------- 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/58901cfd/attachment.sig>


More information about the mesa-dev mailing list