gallium/winsys/nouveau: Don't mark the api PUBLIC

We don't want to export this symbol from our shared object - any use of
this function from outside of mesa (like the ddx) should get the version
from libdrm, not the private copy in mesa.

Fixes: 821f4c8d99 ("nouveau: import libdrm_nouveau")
Reviewed-by: Karol Herbst <kherbst@redhat.com>
(cherry picked from commit 6f6072448d)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32852>
This commit is contained in:
Mel Henning
2024-12-19 20:57:38 -05:00
committed by Dylan Baker
parent 0427d36334
commit 5426f640f1
2 changed files with 2 additions and 2 deletions

View File

@@ -454,7 +454,7 @@
"description": "gallium/winsys/nouveau: Don't mark the api PUBLIC", "description": "gallium/winsys/nouveau: Don't mark the api PUBLIC",
"nominated": true, "nominated": true,
"nomination_type": 2, "nomination_type": 2,
"resolution": 0, "resolution": 1,
"main_sha": null, "main_sha": null,
"because_sha": "821f4c8d99a3068758db834a5c219082a9609b3c", "because_sha": "821f4c8d99a3068758db834a5c219082a9609b3c",
"notes": null "notes": null

View File

@@ -82,7 +82,7 @@ err_dev_new:
return NULL; return NULL;
} }
PUBLIC struct pipe_screen * struct pipe_screen *
nouveau_drm_screen_create(int fd) nouveau_drm_screen_create(int fd)
{ {
return u_pipe_screen_lookup_or_create(os_dupfd_cloexec(fd), NULL, NULL, return u_pipe_screen_lookup_or_create(os_dupfd_cloexec(fd), NULL, NULL,