]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/msm: bail out late_init_minor() if it is not a GPU device
authorDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Sat, 5 Jul 2025 10:02:32 +0000 (13:02 +0300)
committerRob Clark <robin.clark@oss.qualcomm.com>
Sat, 5 Jul 2025 14:13:35 +0000 (07:13 -0700)
commit4f89cf40d01ee26fb7eb50f65bae53daf4c3f569
tree62938e9695a6d720e2ab5acded16ba2d2a35d6b1
parent98290b0a7d605431480e63ccdb6a118a21a0866c
drm/msm: bail out late_init_minor() if it is not a GPU device

Both perf and hangrd make sense only for GPU devices. Bail out if we are
registering a KMS-only device.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/662583/
Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>
drivers/gpu/drm/msm/msm_debugfs.c