Skip to content

Commit 817eab2

Browse files
committed
drm/vmwgfx: Bump the minor version and cleanup logging
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 <[email protected]> Reviewed-by: Martin Krastev <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 2da9a1a commit 817eab2

File tree

2 files changed

+2
-15
lines changed

2 files changed

+2
-15
lines changed

drivers/gpu/drm/vmwgfx/vmwgfx_drv.c

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,6 @@
4747
#define VMW_MIN_INITIAL_WIDTH 800
4848
#define VMW_MIN_INITIAL_HEIGHT 600
4949

50-
#ifndef VMWGFX_GIT_VERSION
51-
#define VMWGFX_GIT_VERSION "Unknown"
52-
#endif
53-
54-
#define VMWGFX_REPO "In Tree"
55-
5650
#define VMWGFX_VALIDATION_MEM_GRAN (16*PAGE_SIZE)
5751

5852

@@ -967,20 +961,13 @@ static int vmw_driver_load(struct vmw_private *dev_priv, u32 pci_id)
967961
if (ret)
968962
goto out_no_fifo;
969963

970-
DRM_INFO("Atomic: %s\n", (dev_priv->drm.driver->driver_features & DRIVER_ATOMIC)
971-
? "yes." : "no.");
972964
if (dev_priv->sm_type == VMW_SM_5)
973965
DRM_INFO("SM5 support available.\n");
974966
if (dev_priv->sm_type == VMW_SM_4_1)
975967
DRM_INFO("SM4_1 support available.\n");
976968
if (dev_priv->sm_type == VMW_SM_4)
977969
DRM_INFO("SM4 support available.\n");
978970

979-
snprintf(host_log, sizeof(host_log), "vmwgfx: %s-%s",
980-
VMWGFX_REPO, VMWGFX_GIT_VERSION);
981-
vmw_host_log(host_log);
982-
983-
memset(host_log, 0, sizeof(host_log));
984971
snprintf(host_log, sizeof(host_log), "vmwgfx: Module Version: %d.%d.%d",
985972
VMWGFX_DRIVER_MAJOR, VMWGFX_DRIVER_MINOR,
986973
VMWGFX_DRIVER_PATCHLEVEL);

drivers/gpu/drm/vmwgfx/vmwgfx_drv.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@
5555

5656

5757
#define VMWGFX_DRIVER_NAME "vmwgfx"
58-
#define VMWGFX_DRIVER_DATE "20200114"
58+
#define VMWGFX_DRIVER_DATE "20210218"
5959
#define VMWGFX_DRIVER_MAJOR 2
6060
#define VMWGFX_DRIVER_MINOR 18
61-
#define VMWGFX_DRIVER_PATCHLEVEL 0
61+
#define VMWGFX_DRIVER_PATCHLEVEL 1
6262
#define VMWGFX_FIFO_STATIC_SIZE (1024*1024)
6363
#define VMWGFX_MAX_RELOCATIONS 2048
6464
#define VMWGFX_MAX_VALIDATIONS 2048

0 commit comments

Comments
 (0)