(subset) [PATCH] drm/sun4i: tv: Include drm_atomic.h

Maxime Ripard maxime at cerno.tech
Fri Sep 9 09:43:31 UTC 2022


On Fri, 9 Sep 2022 11:31:16 +0200, Maxime Ripard wrote:
> Commit ec491291dc94 ("drm/sun4i: tv: Merge mode_set into atomic_enable")
> has introduced a call to drm_atomic_get_new_crtc_state(), but didn't
> include drm_atomic.h.
> 
> On CONFIG_OF systems, this is fine because drm_atomic.h is included by
> drm_of.h through drm_bridge.h. However, whenever CONFIG_OF isn't set, we
> end up with a compilation error.
> 
> [...]

Applied to drm/drm-misc (drm-misc-next).

Thanks!
Maxime


More information about the dri-devel mailing list