]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/rockchip: inno_hdmi: Explicitly include drm_atomic.h
authorAlex Bee <knaerzche@gmail.com>
Mon, 15 Jan 2024 09:24:35 +0000 (10:24 +0100)
committerMaxime Ripard <mripard@kernel.org>
Wed, 17 Jan 2024 09:34:23 +0000 (10:34 +0100)
commitaabf5c412f0435b676b668283d1aba1da10a32b9
treef98b4df1c19d541ab0354d4484c1ef6f006c56a0
parenta05f7279307bbee354016dc695effac043e626a5
drm/rockchip: inno_hdmi: Explicitly include drm_atomic.h

Commit d3e040f450ec ("drm/rockchip: inno_hdmi: Get rid of mode_set")
started using drm_atomic_get_new_connector_state and
drm_atomic_get_new_crtc_state which are defined in drm_atomic.h
Building does currently only work if CONFIG_OF and CONFIG_DRM_PANEL_BRIDGE
are enabled since this will include drm_atomic.h via drm_bridge.h (see
drm_of.h).

Explicitly include drm_atomic.h in inno_hdmi.c to fix this.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202401100949.ZVRr0pIa-lkp@intel.com/
Closes: https://lore.kernel.org/oe-kbuild-all/202401081720.UtgAZgba-lkp@intel.com/
Fixes: d3e040f450ec ("drm/rockchip: inno_hdmi: Get rid of mode_set")
Signed-off-by: Alex Bee <knaerzche@gmail.com>
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240115092434.41695-2-knaerzche@gmail.com
drivers/gpu/drm/rockchip/inno_hdmi.c