Module: Mesa
Branch: main
Commit: 47b825c6c5c79f53d7ab5e3f42eb60fbfeed12a1
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=47b825c6c5c79f53d7ab5e3f42eb60fbfeed12a1

Author: Juan A. Suarez Romero <[email protected]>
Date:   Tue Dec  5 13:27:10 2023 +0100

v3d: include the revision in the device name

To match what the Vulkan driver does.

Reviewed-by: Alejandro PiƱeiro <[email protected]>
Signed-off-by: Juan A. Suarez Romero <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26520>

---

 src/gallium/drivers/v3d/v3d_screen.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/gallium/drivers/v3d/v3d_screen.c 
b/src/gallium/drivers/v3d/v3d_screen.c
index f965b62ec78..d8ab3de114e 100644
--- a/src/gallium/drivers/v3d/v3d_screen.c
+++ b/src/gallium/drivers/v3d/v3d_screen.c
@@ -54,9 +54,10 @@ v3d_screen_get_name(struct pipe_screen *pscreen)
 
         if (!screen->name) {
                 screen->name = ralloc_asprintf(screen,
-                                               "V3D %d.%d",
+                                               "V3D %d.%d.%d",
                                                screen->devinfo.ver / 10,
-                                               screen->devinfo.ver % 10);
+                                               screen->devinfo.ver % 10,
+                                               screen->devinfo.rev);
         }
 
         return screen->name;

Reply via email to