Skip to contentSkip to conversation

drm/amdgpu: bump driver version for cleared VRAM

PATCH In review Alex Deucher 4 participants 6 messages Sep 6, 2024 – Sep 26, 2024

Subsystems (2)
lore
Share & tools
lore

Alex Deucher

author maintainer
#0 lore raw

PATCH 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
index d90473aec942..fad556be840b 100644
@@ -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
#1 lore raw

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.

---
 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
index d90473aec942..fad556be840b 100644
@@ -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

Reviewed-by
#2 lore raw

[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.

---
 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
index d90473aec942..fad556be840b 100644
@@ -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

#3 lore raw
In reply to Alex Deucher

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.

---
 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.c

drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c line 117

Quoted 5 lines

index d90473aec942..fad556be840b 100644

drivers/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

#4 lore raw
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.

---
 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
index d90473aec942..fad556be840b 100644
@@ -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

Reviewed-by
#5 lore raw

Marek

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.

---
 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
index d90473aec942..fad556be840b 100644
@@ -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