drm/amdgpu: bump driver version for cleared VRAM
Subsystems (2)
Alex Deucher
maintainerPATCH 1/1 drm/amdgpu: bump driver version for cleared VRAM
Driver now clears VRAM on allocation. Bump the
driver version so mesa knows when it will get
cleared vram by default.
--- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +2 -1
@@ -117,9 +117,10 @@* - 3.56.0 - Update IB start address and size alignment for decode and encode * - 3.57.0 - Compute tunneling on GFX10+ * - 3.58.0 - Add GFX12 DCC support +* - 3.59.0 - Cleared VRAM */ #define KMS_DRIVER_MAJOR 3 -#define KMS_DRIVER_MINOR 58 +#define KMS_DRIVER_MINOR 59#define KMS_DRIVER_PATCHLEVEL 0/*
Signature · 1 line
2.46.0
Ping?
Quoted 29 lines · Alex Deucher
Driver now clears VRAM on allocation. Bump the
driver version so mesa knows when it will get
cleared vram by default.Signed-off-by Alex Deucher <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +2
-2@@ -117,9 +117,10 @@* - 3.56.0 - Update IB start address and size alignment for decode and encode * - 3.57.0 - Compute tunneling on GFX10+ * - 3.58.0 - Add GFX12 DCC support +* - 3.59.0 - Cleared VRAM */ #define KMS_DRIVER_MAJOR 3 -#define KMS_DRIVER_MINOR 58 +#define KMS_DRIVER_MINOR 59#define KMS_DRIVER_PATCHLEVEL 0/* -- 2.46.0
Bhardwaj, Rajneesh
Reviewed-by[Public]
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Alex Deucher
Sent: Thursday, September 26, 2024 9:46 AM
To: Deucher, Alexander <[email protected]>; Olsak, Marek <[email protected]>
Cc: [email protected]
Subject: Re: [PATCH] drm/amdgpu: bump driver version for cleared VRAM
Ping?
Quoted 29 lines · Alex Deucher
Driver now clears VRAM on allocation. Bump the driver version so mesa knows when it will get cleared vram by default.
Signed-off-by Alex Deucher <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +2
-2@@ -117,9 +117,10 @@* - 3.56.0 - Update IB start address and size alignment for decode and encode * - 3.57.0 - Compute tunneling on GFX10+ * - 3.58.0 - Add GFX12 DCC support +* - 3.59.0 - Cleared VRAM */ #define KMS_DRIVER_MAJOR 3 -#define KMS_DRIVER_MINOR 58 +#define KMS_DRIVER_MINOR 59#define KMS_DRIVER_PATCHLEVEL 0/* -- 2.46.0
Is GTT cleared too?
Marek
Quoted 36 lines · On Thu, Sep 26, 2024, 09:53 Alex Deucher <[email protected]> wrote:
Ping?
Review
Quoted 11 lines · Alex Deucher
Driver now clears VRAM on allocation. Bump the
driver version so mesa knows when it will get
cleared vram by default.Signed-off-by Alex Deucher <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)(quoted diff) +0
-0
b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.cdrivers/gpu/drm/amd/amdgpu/amdgpu_drv.c line 117
Quoted 5 lines
index
d90473aec942..fad556be840b100644drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +0
-0@@ -117,9 +117,10 @@* - 3.56.0 - Update IB start address and size alignment for decode and encode
Quoted 13 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +2
-2* - 3.57.0 - Compute tunneling on GFX10+ * - 3.58.0 - Add GFX12 DCC support +* - 3.59.0 - Cleared VRAM */ #define KMS_DRIVER_MAJOR 3 -#define KMS_DRIVER_MINOR 58 +#define KMS_DRIVER_MINOR 59#define KMS_DRIVER_PATCHLEVEL 0/* -- 2.46.0
Quoted 2 lines · Marek Olšák
Is GTT cleared too?
GTT has always been cleared since it's system memory.
Alex
Quoted 37 lines
Marek
Quoted 33 lines · On Thu, Sep 26, 2024, 09:53 Alex Deucher <[email protected]> wrote:
Ping?
Quoted 29 lines · Alex Deucher
Driver now clears VRAM on allocation. Bump the
driver version so mesa knows when it will get
cleared vram by default.Signed-off-by Alex Deucher <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +2
-2@@ -117,9 +117,10 @@* - 3.56.0 - Update IB start address and size alignment for decode and encode * - 3.57.0 - Compute tunneling on GFX10+ * - 3.58.0 - Add GFX12 DCC support +* - 3.59.0 - Cleared VRAM */ #define KMS_DRIVER_MAJOR 3 -#define KMS_DRIVER_MINOR 58 +#define KMS_DRIVER_MINOR 59#define KMS_DRIVER_PATCHLEVEL 0/* -- 2.46.0
Marek Olšák
Reviewed-byMarek
Quoted 47 lines · Alex Deucher
Quoted 2 lines · Marek Olšák
Is GTT cleared too?
GTT has always been cleared since it's system memory.
Alex
Quoted 37 lines
Marek
Quoted 33 lines · On Thu, Sep 26, 2024, 09:53 Alex Deucher <[email protected]> wrote:
Ping?
Quoted 29 lines · Alex Deucher
Driver now clears VRAM on allocation. Bump the
driver version so mesa knows when it will get
cleared vram by default.Signed-off-by Alex Deucher <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +2
-2@@ -117,9 +117,10 @@* - 3.56.0 - Update IB start address and size alignment for decode and encode * - 3.57.0 - Compute tunneling on GFX10+ * - 3.58.0 - Add GFX12 DCC support +* - 3.59.0 - Cleared VRAM */ #define KMS_DRIVER_MAJOR 3 -#define KMS_DRIVER_MINOR 58 +#define KMS_DRIVER_MINOR 59#define KMS_DRIVER_PATCHLEVEL 0/* -- 2.46.0