Skip to content

Commit a9dece6

Browse files
akhilpo-qcomlumag
authored andcommitted
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. 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>
1 parent 50c4a49 commit a9dece6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/gpu/drm/msm/adreno/adreno_device.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@ static const struct of_device_id dt_match[] = {
302302
{ .compatible = "qcom,kgsl-3d0" },
303303
{}
304304
};
305+
MODULE_DEVICE_TABLE(of, dt_match);
305306

306307
static int adreno_runtime_resume(struct device *dev)
307308
{

0 commit comments

Comments
 (0)