We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8719b00 commit f2419deCopy full SHA for f2419de
drivers/gpu/drm/radeon/radeon_irq_kms.c
@@ -73,6 +73,11 @@ static void radeon_hotplug_work_func(struct work_struct *work)
73
struct drm_mode_config *mode_config = &dev->mode_config;
74
struct drm_connector *connector;
75
76
+ /* we can race here at startup, some boards seem to trigger
77
+ * hotplug irqs when they shouldn't. */
78
+ if (!rdev->mode_info.mode_config_initialized)
79
+ return;
80
+
81
mutex_lock(&mode_config->mutex);
82
if (mode_config->num_connector) {
83
list_for_each_entry(connector, &mode_config->connector_list, head)
0 commit comments