Skip to contentSkip to conversation

drm/amd: Bump KMS_DRIVER_MINOR version

PATCH In review Aurabindo Pillai 3 participants 4 messages Jul 11, 2024 – Jul 15, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amd: Bump KMS_DRIVER_MINOR version

Increase the KMS minor version to indicate GFX12 DCC support since this contains a major change in how DCC is managed across IPs like GFX, DCN etc. This will be used mainly by userspace like Mesa to figure out DCC support on GFX12 hardware.

---
 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 802debd8d9f0..af44cbc90d2a 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 AMDGPU_IDS_FLAGS_MODE_PF, AMDGPU_IDS_FLAGS_MODE_VF & AMDGPU_IDS_FLAGS_MODE_PT
+ * - 3.59.0 - Add GFX12 DCC support
  */
 #define KMS_DRIVER_MAJOR	3
-#define KMS_DRIVER_MINOR	58
+#define KMS_DRIVER_MINOR	59
 #define KMS_DRIVER_PATCHLEVEL	0
 
 /*
Signature · 1 line
2.45.2
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · Aurabindo Pillai

Increase the KMS minor version to indicate GFX12 DCC support since this contains a major change in how DCC is managed across IPs like GFX, DCN etc. This will be used mainly by userspace like Mesa to figure out DCC support on GFX12 hardware.

Quoted 23 lines
---
 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 802debd8d9f0..af44cbc90d2a 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 AMDGPU_IDS_FLAGS_MODE_PF, AMDGPU_IDS_FLAGS_MODE_VF & AMDGPU_IDS_FLAGS_MODE_PT
+ * - 3.59.0 - Add GFX12 DCC support
  */
 #define KMS_DRIVER_MAJOR       3
-#define KMS_DRIVER_MINOR       58
+#define KMS_DRIVER_MINOR       59
 #define KMS_DRIVER_PATCHLEVEL  0
 
 /*
--

2.45.2

Reviewed-by on v1 1/1
#2 lore raw
In reply to Aurabindo Pillai

Marek

Quoted 30 lines · Aurabindo Pillai

Increase the KMS minor version to indicate GFX12 DCC support since this contains a major change in how DCC is managed across IPs like GFX, DCN etc. This will be used mainly by userspace like Mesa to figure out DCC support on GFX12 hardware.

---
 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 802debd8d9f0..af44cbc90d2a 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 AMDGPU_IDS_FLAGS_MODE_PF, AMDGPU_IDS_FLAGS_MODE_VF & AMDGPU_IDS_FLAGS_MODE_PT
+ * - 3.59.0 - Add GFX12 DCC support
  */
 #define KMS_DRIVER_MAJOR       3
-#define KMS_DRIVER_MINOR       58
+#define KMS_DRIVER_MINOR       59
 #define KMS_DRIVER_PATCHLEVEL  0
 
 /*
--

2.45.2

#3 lore raw
In reply to Aurabindo Pillai
Quoted 16 lines · Aurabindo Pillai

Increase the KMS minor version to indicate GFX12 DCC support since this contains a major change in how DCC is managed across IPs like GFX, DCN etc. This will be used mainly by userspace like Mesa to figure out DCC support on GFX12 hardware.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +0 -0
index 802debd8d9f0..af44cbc90d2a 100644

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

Quoted 8 lines
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 AMDGPU_IDS_FLAGS_MODE_PF, AMDGPU_IDS_FLAGS_MODE_VF & AMDGPU_IDS_FLAGS_MODE_PT
+ * - 3.59.0 - Add GFX12 DCC support
  */
 #define KMS_DRIVER_MAJOR       3
-#define KMS_DRIVER_MINOR       58
+#define KMS_DRIVER_MINOR       59

Just a heads up for posterity. The feature for 58 wasn't ready yet, so it's been dropped for the time being so I've switched this to 58 for upstream.

Alex

Quoted 6 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +0 -1
 #define KMS_DRIVER_PATCHLEVEL  0
 
 /*
--

2.45.2