]> git.baikalelectronics.ru Git - kernel.git/commit
Merge tag 'imx-drm-next-2021-01-04' of git://git.pengutronix.de/git/pza/linux into...
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 7 Jan 2021 10:23:38 +0000 (11:23 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 7 Jan 2021 10:24:50 +0000 (11:24 +0100)
commite240cc7665233d7e2213cceb3cb134b0e6c04b40
tree394decba503b67f93b8497a3381911fc236742e6
parent5beed15e4b53b2077f388138318bdddaac4f253f
parent16da8e9a7767ac77720f49bfa870def61a250cda
Merge tag 'imx-drm-next-2021-01-04' of git://git.pengutronix.de/git/pza/linux into drm-next

drm/imx: fixes and drm managed resources

- Reduce stack usage in ipu-di.
- Fix imx-ldb for compile tests.
- Make drm encoder control functions optional.
- Add drm managed variants drmm_encoder_alloc(),
  drmm_simple_encoder_alloc(), drmm_universal_plane_alloc(), and
  drmm_crtc_alloc_with_planes() for drm_encoder_init(),
  drm_simple_encoder_init(), drm_universal_plane_init(), and
  drm_crtc_init_with_planes(), respectively.
- Update imx-drm to use the new functions for drm managed resource
  allocation, moving initialization from bind to probe where possible.
- Fix imx-tve clock provider leak.

Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
[danvet: Fix conflict between doc changes by both Philipp and Simon
Ser, see 9999587b684f ("drm: rework description of primary and cursor
planes")]
From: Philipp Zabel <p.zabel@pengutronix.de>
Link: https://patchwork.freedesktop.org/patch/msgid/c745fc1596898932c9454fd2979297b4242566a2.camel@pengutronix.de
drivers/gpu/drm/drm_crtc.c
drivers/gpu/drm/drm_mode_config.c
drivers/gpu/drm/drm_plane.c