]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/vmwgfx: Bump the minor version and cleanup logging
authorZack Rusin <zackr@vmware.com>
Wed, 17 Feb 2021 18:55:21 +0000 (13:55 -0500)
committerZack Rusin <zackr@vmware.com>
Fri, 26 Feb 2021 19:57:39 +0000 (14:57 -0500)
We should advertise the reworked fifo/cmd handling and huge pages
support. Also while bumping the version number lets cleanup
the logging, there's no point in logging whether we're atomic
(we always are) or what repo we use (it's always in kernel now).

Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: Martin Krastev <krastevm@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210224163034.918430-1-zackr@vmware.com
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h

index 4efed3bf0ef90ccbd3ad69d56f4e6b0908843dfb..6910111099c8a5b0cdac49eb1c8c667f35d5802e 100644 (file)
 #define VMW_MIN_INITIAL_WIDTH 800
 #define VMW_MIN_INITIAL_HEIGHT 600
 
-#ifndef VMWGFX_GIT_VERSION
-#define VMWGFX_GIT_VERSION "Unknown"
-#endif
-
-#define VMWGFX_REPO "In Tree"
-
 #define VMWGFX_VALIDATION_MEM_GRAN (16*PAGE_SIZE)
 
 
@@ -967,8 +961,6 @@ static int vmw_driver_load(struct vmw_private *dev_priv, u32 pci_id)
        if (ret)
                goto out_no_fifo;
 
-       DRM_INFO("Atomic: %s\n", (dev_priv->drm.driver->driver_features & DRIVER_ATOMIC)
-                ? "yes." : "no.");
        if (dev_priv->sm_type == VMW_SM_5)
                DRM_INFO("SM5 support available.\n");
        if (dev_priv->sm_type == VMW_SM_4_1)
@@ -976,11 +968,6 @@ static int vmw_driver_load(struct vmw_private *dev_priv, u32 pci_id)
        if (dev_priv->sm_type == VMW_SM_4)
                DRM_INFO("SM4 support available.\n");
 
-       snprintf(host_log, sizeof(host_log), "vmwgfx: %s-%s",
-               VMWGFX_REPO, VMWGFX_GIT_VERSION);
-       vmw_host_log(host_log);
-
-       memset(host_log, 0, sizeof(host_log));
        snprintf(host_log, sizeof(host_log), "vmwgfx: Module Version: %d.%d.%d",
                VMWGFX_DRIVER_MAJOR, VMWGFX_DRIVER_MINOR,
                VMWGFX_DRIVER_PATCHLEVEL);
index e65b00f8336d0e4ed512c8cf023e32d39c01e4ce..bb2ce6327944c75bee36f6b16f211f801a9a4db3 100644 (file)
 
 
 #define VMWGFX_DRIVER_NAME "vmwgfx"
-#define VMWGFX_DRIVER_DATE "20200114"
+#define VMWGFX_DRIVER_DATE "20210218"
 #define VMWGFX_DRIVER_MAJOR 2
 #define VMWGFX_DRIVER_MINOR 18
-#define VMWGFX_DRIVER_PATCHLEVEL 0
+#define VMWGFX_DRIVER_PATCHLEVEL 1
 #define VMWGFX_FIFO_STATIC_SIZE (1024*1024)
 #define VMWGFX_MAX_RELOCATIONS 2048
 #define VMWGFX_MAX_VALIDATIONS 2048