diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/4099-Removing-the-AMDGPU-VERSION-print.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/4099-Removing-the-AMDGPU-VERSION-print.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/4099-Removing-the-AMDGPU-VERSION-print.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/4099-Removing-the-AMDGPU-VERSION-print.patch new file mode 100644 index 00000000..d78039fd --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/4099-Removing-the-AMDGPU-VERSION-print.patch @@ -0,0 +1,41 @@ +From ead762259f79d4c4bfb466f0ef238a3c37909e99 Mon Sep 17 00:00:00 2001 +From: Pavan Kumar Ramayanam <pavan.ramayanam@amd.com> +Date: Mon, 4 Nov 2019 10:39:20 +0530 +Subject: [PATCH 4099/4103] Removing the AMDGPU VERSION print + +--- + drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 7 ------- + 1 file changed, 7 deletions(-) + +diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +index 02f6fae0bbee..29cf16edbb10 100644 +--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c ++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +@@ -86,8 +86,6 @@ + #define KMS_DRIVER_MINOR 35 + #define KMS_DRIVER_PATCHLEVEL 0 + +-#define AMDGPU_VERSION "19.10.9.418" +- + int amdgpu_vram_limit = 0; + int amdgpu_vis_vram_limit = 0; + int amdgpu_gart_size = -1; /* auto */ +@@ -1420,10 +1418,6 @@ static int __init amdgpu_init(void) + goto error_fence; + + DRM_INFO("amdgpu kernel modesetting enabled.\n"); +- DRM_INFO("amdgpu version: %s\n", AMDGPU_VERSION); +-#if defined(DRM_VER) && defined(DRM_PATCH) && defined(DRM_SUB) +- DRM_INFO("OS DRM version: %d.%d.%d\n", DRM_VER, DRM_PATCH, DRM_SUB); +-#endif + kms_driver.num_ioctls = amdgpu_max_kms_ioctl; + amdgpu_register_atpx_handler(); + +@@ -1454,4 +1448,3 @@ module_exit(amdgpu_exit); + MODULE_AUTHOR(DRIVER_AUTHOR); + MODULE_DESCRIPTION(DRIVER_DESC); + MODULE_LICENSE("GPL and additional rights"); +-MODULE_VERSION(AMDGPU_VERSION); +-- +2.17.1 + |