mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 13:40:11 +01:00
kmsro: Silence warning if missing
Regardless of whether the build uses kmsro, kmsro is the default driver descriptor when the static loader is used. Thus, in an edge case where the static loader is used, no static targets are loaded, and kmsro is not compiled, a spurious warning is printed. There's no harm in executing the stub function in this case, but it's not "an error" to not have kmsro in the build; the driver missing warning should not printed kmsro. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Karol Herbst <kherbst@redhat.com>
This commit is contained in:
parent
f1bcb9be46
commit
738346fa23
1 changed files with 0 additions and 1 deletions
|
|
@ -100,7 +100,6 @@ pipe_kmsro_create_screen(int fd, const struct pipe_screen_config *config)
|
|||
struct pipe_screen *
|
||||
pipe_kmsro_create_screen(int fd, const struct pipe_screen_config *config)
|
||||
{
|
||||
fprintf(stderr, "kmsro: driver missing\n");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue