[PATCH v4 2/3] drm/mipi-dbi: Add driver_private member to struct mipi_dbi_dev

Sam Ravnborg sam at ravnborg.org
Sat Feb 19 15:25:48 UTC 2022


Hi Noralf,
On Fri, Feb 18, 2022 at 04:11:09PM +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
> 
> Acked-by: Maxime Ripard <maxime at cerno.tech>
> Signed-off-by: Noralf Trønnes <noralf at tronnes.org>
Acked-by: Sam Ravnborg <sam at ravnborg.org>


More information about the dri-devel mailing list