Skip to contentSkip to conversation

drm/amdgpu: Add CRC16 selection in config

PATCH In review Lijo Lazar 3 participants 3 messages May 21, 2024

Subsystems (2)
lore
Share & tools
lore

Lijo Lazar

author
#0 lore raw

PATCH 1/1 drm/amdgpu: Add CRC16 selection in config

KFD uses crc16 for gpu_id generation.

Fixes 6dbc6469ab0b ("drm/amdkfd: Ensure gpu_id is unique")
---
 drivers/gpu/drm/amd/amdgpu/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/Kconfig +1 -0
index 0cd9d2939407..0051fb1b437f 100644
@@ -17,6 +17,7 @@ config DRM_AMDGPU
 	select HWMON
 	select I2C
 	select I2C_ALGOBIT
+	select CRC16
 	select BACKLIGHT_CLASS_DEVICE
 	select INTERVAL_TREE
 	select DRM_BUDDY
Signature · 1 line
2.25.1
Reviewed-by on v1 1/1
#1 lore raw

[AMD Official Use Only - AMD Internal Distribution Only]

Regards,
Hawking
-----Original Message-----
From: Lazar, Lijo <[email protected]>
Sent: Tuesday, May 21, 2024 15:15
To: [email protected]
Cc: Zhang, Hawking <[email protected]>; Deucher, Alexander <[email protected]>; Kuehling, Felix <[email protected]>; Kasiviswanathan, Harish <[email protected]>; kernel test robot <[email protected]>
Subject: [PATCH] drm/amdgpu: Add CRC16 selection in config

KFD uses crc16 for gpu_id generation.

Fixes 6dbc6469ab0b ("drm/amdkfd: Ensure gpu_id is unique")
---
 drivers/gpu/drm/amd/amdgpu/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/Kconfig +1 -0
index 0cd9d2939407..0051fb1b437f 100644
@@ -17,6 +17,7 @@ config DRM_AMDGPU
        select HWMON
        select I2C
        select I2C_ALGOBIT
+       select CRC16
        select BACKLIGHT_CLASS_DEVICE
        select INTERVAL_TREE
        select DRM_BUDDY

--
2.25.1

Reviewed-by Reviewed-by Hawking Zhang
#2 lore raw

[AMD Official Use Only - AMD Internal Distribution Only]

-----Original Message-----
From: Zhang, Hawking <[email protected]>
Sent: Tuesday, May 21, 2024 3:55 AM
To: Lazar, Lijo <[email protected]>; [email protected]
Cc: Deucher, Alexander <[email protected]>; Kuehling, Felix <[email protected]>; Kasiviswanathan, Harish <[email protected]>; kernel test robot <[email protected]>
Subject: RE: [PATCH] drm/amdgpu: Add CRC16 selection in config

[AMD Official Use Only - AMD Internal Distribution Only]

Regards,
Hawking
-----Original Message-----
From: Lazar, Lijo <[email protected]>
Sent: Tuesday, May 21, 2024 15:15
To: [email protected]
Cc: Zhang, Hawking <[email protected]>; Deucher, Alexander <[email protected]>; Kuehling, Felix <[email protected]>; Kasiviswanathan, Harish <[email protected]>; kernel test robot <[email protected]>
Subject: [PATCH] drm/amdgpu: Add CRC16 selection in config

KFD uses crc16 for gpu_id generation.

Fixes 6dbc6469ab0b ("drm/amdkfd: Ensure gpu_id is unique")
---
 drivers/gpu/drm/amd/amdgpu/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/Kconfig +1 -0
index 0cd9d2939407..0051fb1b437f 100644
@@ -17,6 +17,7 @@ config DRM_AMDGPU
        select HWMON
        select I2C
        select I2C_ALGOBIT
+       select CRC16
        select BACKLIGHT_CLASS_DEVICE
        select INTERVAL_TREE
        select DRM_BUDDY

--
2.25.1