drm/crtc-helper: use drm_framebuffer flags
Subsystems (2)
PATCH 1/1 drm/crtc-helper: use drm_framebuffer flags
The "flags" parameter of the DRM_IOCTL_MODE_ADDFB2 ioctl must be propagated and used by the driver.
The only possible value of flags is DRM_MODE_FB_INTERLACED.
Change-Id I989c01b1e6eef753eb004a5ac876665ea8ab0da6
Signed-off-by Fabien Dessenne <[email protected]>
Change-Id I2350ad8bd1553a4a7388e8d8b7733e65f1e8caef
Reviewed-on: https://gerrit.st.com/8141
Reviewed-by Benjamin GAIGNARD <[email protected]>
--- drivers/gpu/drm/drm_crtc_helper.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/drm_crtc_helper.c +1 -0
@@ -966,6 +966,7 @@ int drm_helper_mode_fill_fb_struct(struct drm_framebuffer *fb,drm_fb_get_bpp_depth (mode_cmd->pixel_format, &fb->depth, &fb->bits_per_pixel); fb->pixel_format = mode_cmd->pixel_format; + fb->flags = mode_cmd->flags;return 0 ; }
Signature · 1 line
1.9.1