Skip to content
Unverified Commit 1e7e8e18 authored by Noralf Trønnes's avatar Noralf Trønnes Committed by Maxime Ripard
Browse files

drm/mipi-dbi: Add driver_private member to struct mipi_dbi_dev



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: default avatarMaxime Ripard <maxime@cerno.tech>
Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarNoralf Trønnes <noralf@tronnes.org>
Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20220227124713.39766-5-noralf@tronnes.org
parent 95ae342d
  • mirror @mirror

    mentioned in commit 05c3c2156353f55e18dc4b7905eafd9c4f4e37bc

    ·

    mentioned in commit 05c3c2156353f55e18dc4b7905eafd9c4f4e37bc

    Toggle commit list
  • mirror @mirror

    mentioned in commit 0cb35a14256e8e7e8f6e2930738853ec9b134565

    ·

    mentioned in commit 0cb35a14256e8e7e8f6e2930738853ec9b134565

    Toggle commit list
  • mirror @mirror

    mentioned in commit d5770bbe

    ·

    mentioned in commit d5770bbe

    Toggle commit list
  • mirror @mirror

    mentioned in commit dd1821200d3fecafde18b11df3c047ba619b17b7

    ·

    mentioned in commit dd1821200d3fecafde18b11df3c047ba619b17b7

    Toggle commit list
  • mirror @mirror

    mentioned in commit 1e6d2028a8ed209c44850270991738e1c60f8421

    ·

    mentioned in commit 1e6d2028a8ed209c44850270991738e1c60f8421

    Toggle commit list
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment