We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98290b0 commit 4f89cf4Copy full SHA for 4f89cf4
drivers/gpu/drm/msm/msm_debugfs.c
@@ -325,11 +325,16 @@ static struct drm_info_list msm_debugfs_list[] = {
325
326
static int late_init_minor(struct drm_minor *minor)
327
{
328
+ struct drm_device *dev = minor->dev;
329
+ struct msm_drm_private *priv = dev->dev_private;
330
int ret;
331
332
if (!minor)
333
return 0;
334
335
+ if (!priv->gpu_pdev)
336
+ return 0;
337
+
338
ret = msm_rd_debugfs_init(minor);
339
if (ret) {
340
DRM_DEV_ERROR(minor->dev->dev, "could not install rd debugfs\n");
0 commit comments