Skip to content

Commit

Permalink
drm/crtc-helper: use drm_framebuffer flags
Browse files Browse the repository at this point in the history
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.

Signed-off-by: Fabien Dessenne <[email protected]>
Reviewed-by: Benjamin GAIGNARD <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
  • Loading branch information
Fabien DESSENNE authored and airlied committed Jul 8, 2014
1 parent e3f2027 commit d980b18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/drm_crtc_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -818,6 +818,7 @@ void 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;
}
EXPORT_SYMBOL(drm_helper_mode_fill_fb_struct);

Expand Down

0 comments on commit d980b18

Please sign in to comment.