[PATCH v2] drm/i915: Fix harmfull driver register/unregister assymetry

Jani Nikula jani.nikula at linux.intel.com
Wed Feb 19 19:35:19 UTC 2025


On Wed, 19 Feb 2025, Janusz Krzysztofik <janusz.krzysztofik at linux.intel.com> wrote:
> diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
> index ffc346379cc2c..27a23b1eb9de0 100644
> --- a/drivers/gpu/drm/i915/i915_drv.h
> +++ b/drivers/gpu/drm/i915/i915_drv.h
> @@ -347,6 +347,8 @@ struct drm_i915_private {
>  	/* The TTM device structure. */
>  	struct ttm_device bdev;
>  
> +	bool registered;
> +

*must* find another way.

BR,
Jani.


>  	I915_SELFTEST_DECLARE(struct i915_selftest_stash selftest;)
>  
>  	/*

-- 
Jani Nikula, Intel


More information about the dri-devel mailing list