drm/xlnx: Fix build failure due to missing include
Subsystems (4)
PATCH 1/1 drm/xlnx: Fix build failure due to missing include
From: Ville Syrjälä <[email protected]>
Dropping drm_blend.h from drm_crtc.h broke the
xlnx driver. Make it build again by includingdrm_blend.h from the driver directly.
My .config was missing some required dependencies so I never build tested it :/
--- drivers/gpu/drm/xlnx/zynqmp_disp.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/xlnx/zynqmp_disp.c +1 -0
@@ -12,6 +12,7 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_atomic_uapi.h> +#include <drm/drm_blend.h> #include <drm/drm_crtc.h> #include <drm/drm_device.h> #include <drm/drm_fb_cma_helper.h>
Signature · 1 line
2.35.1
Hi Ville,
Thank you for the patch.
Quoted 6 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
Dropping
drm_blend.hfromdrm_crtc.hbroke the
xlnx driver. Make it build again by includingdrm_blend.hfrom the driver directly.
Quoted 8 lines
My .config was missing some required dependencies so I never build tested it :/
Cc Hyun Kwon <[email protected]>Cc Laurent Pinchart <[email protected]>Reported-by Stephen Rothwell <[email protected]>Fixes 90bb087f6674 ("drm: Drop drm_blend.h from drm_crtc.h")Signed-off-by Ville Syrjälä <[email protected]>
Quoted 16 lines
--- drivers/gpu/drm/xlnx/zynqmp_disp.c | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/xlnx/zynqmp_disp.c +1
-0@@ -12,6 +12,7 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_atomic_uapi.h> +#include <drm/drm_blend.h> #include <drm/drm_crtc.h> #include <drm/drm_device.h> #include <drm/drm_fb_cma_helper.h>
Signature · 3 lines
Regards, Laurent Pinchart
Quoted 14 lines · Laurent Pinchart
Hi Ville,
Thank you for the patch.
Quoted 9 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
Dropping
drm_blend.hfromdrm_crtc.hbroke the
xlnx driver. Make it build again by includingdrm_blend.hfrom the driver directly.My .config was missing some required dependencies so I never build tested it :/
Quoted 7 lines
Quoted 5 lines
Cc Hyun Kwon <[email protected]>Cc Laurent Pinchart <[email protected]>Reported-by Stephen Rothwell <[email protected]>Fixes 90bb087f6674 ("drm: Drop drm_blend.h from drm_crtc.h")Signed-off-by Ville Syrjälä <[email protected]>Reviewed-by Laurent Pinchart <[email protected]>
Thanks. Pushed to drm-misc-next.
Quoted 22 lines
Quoted 17 lines
--- drivers/gpu/drm/xlnx/zynqmp_disp.c | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/xlnx/zynqmp_disp.c +1
-0@@ -12,6 +12,7 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_atomic_uapi.h> +#include <drm/drm_blend.h> #include <drm/drm_crtc.h> #include <drm/drm_device.h> #include <drm/drm_fb_cma_helper.h> Signature · 3 lines
Regards, Laurent Pinchart
Signature · 2 lines
Ville Syrjälä Intel