Skip to contentSkip to conversation

drm/msm/adreno: Add GPU to MODULE_DEVICE_TABLE

PATCH Applied Akhil P Oommen 2 participants 3 messages Jan 24 – Feb 24

Subsystems (4)
lore
Share & tools
lore

Akhil P Oommen

author reviewer
#0 lore raw

PATCH 1/1 drm/msm/adreno: Add GPU to MODULE_DEVICE_TABLE

Since it is possible to independently probe Adreno GPU, add GPU match table to MODULE_DEVICE_TABLE to allow auto-loading of msm module.

---
 drivers/gpu/drm/msm/adreno/adreno_device.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/msm/adreno/adreno_device.c +1 -0
index 554d746f115b..4edfe80c5be7 100644
@@ -302,6 +302,7 @@ static const struct of_device_id dt_match[] = {
 	{ .compatible = "qcom,kgsl-3d0" },
 	{}
 };
+MODULE_DEVICE_TABLE(of, dt_match);
 
 static int adreno_runtime_resume(struct device *dev)
 {

---
base-commit: 50c4a49f7292b33b454ea1a16c4f77d6965405dc
change-id: 20260124-adreno-module-table-9fdc9e009170

Best regards,

Signature · 1 line
Akhil P Oommen <[email protected]>