(subset) [PATCH v6 4/5] drm/mipi-dbi: Add driver_private member to struct mipi_dbi_dev
Maxime Ripard
maxime at cerno.tech
Mon Feb 28 08:22:34 UTC 2022
On Sun, 27 Feb 2022 13:47:12 +0100, Noralf Trønnes wrote:
> devm_drm_dev_alloc() can't allocate structures that embed a structure
> which then again embeds drm_device. Workaround this by adding a
> driver_private pointer to struct mipi_dbi_dev which the driver can use for
> its additional state.
>
> v3:
> - Add documentation
>
> [...]
Applied to drm/drm-misc (drm-misc-next).
Thanks!
Maxime
More information about the dri-devel
mailing list