]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/msm/adreno: Add GPU to MODULE_DEVICE_TABLE
authorAkhil P Oommen <akhilpo@oss.qualcomm.com>
Sat, 24 Jan 2026 01:02:56 +0000 (06:32 +0530)
committerDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Mon, 23 Feb 2026 23:22:18 +0000 (01:22 +0200)
Since it is possible to independently probe Adreno GPU, add GPU match
table to MODULE_DEVICE_TABLE to allow auto-loading of msm module.

Signed-off-by: Akhil P Oommen <akhilpo@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/700656/
Link: https://lore.kernel.org/r/20260124-adreno-module-table-v1-1-9c2dbb2638b4@oss.qualcomm.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
drivers/gpu/drm/msm/adreno/adreno_device.c

index 554d746f115b2184132278689bf8bd754487f324..4edfe80c5be7cb5c3be984afc616b625eb51e9c4 100644 (file)
@@ -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)
 {