pipe-loader: Fallback to kmsro driver when no matching driver name found
authorRob Herring <robh@kernel.org>
Thu, 24 Jan 2019 22:36:00 +0000 (16:36 -0600)
committerEric Anholt <eric@anholt.net>
Mon, 28 Jan 2019 17:35:45 +0000 (09:35 -0800)
commit511e7b6f610fc5c2d4d462ba0586590d62bc7247
treef80f918be943bc1bef3e0a8294cff91d019d2cff
parented65aeec7810a7d98a19461ba933bd77268cb0f6
pipe-loader: Fallback to kmsro driver when no matching driver name found

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@kernel.org>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c