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 df3ab3c commit c499f6cCopy full SHA for c499f6c
drivers/gpu/drm/i915/selftests/mock_gem_device.c
@@ -78,6 +78,7 @@ static void mock_device_release(struct drm_device *dev)
78
drm_mode_config_cleanup(&i915->drm);
79
80
out:
81
+ i915_params_free(&i915->params);
82
put_device(&i915->drm.pdev->dev);
83
i915->drm.pdev = NULL;
84
}
@@ -165,6 +166,8 @@ struct drm_i915_private *mock_gem_device(void)
165
166
i915->drm.pdev = pdev;
167
drmm_add_final_kfree(&i915->drm, i915);
168
169
+ i915_params_copy(&i915->params, &i915_modparams);
170
+
171
intel_runtime_pm_init_early(&i915->runtime_pm);
172
173
/* Using the global GTT may ask questions about KMS users, so prepare */
0 commit comments