mirror of https://gitee.com/openkylin/linux.git
drm_modes: videomode: add doubleclk flag
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
2d178a4abb
commit
328a4719b6
|
@ -535,6 +535,8 @@ int drm_display_mode_from_videomode(const struct videomode *vm,
|
|||
dmode->flags |= DRM_MODE_FLAG_INTERLACE;
|
||||
if (vm->flags & DISPLAY_FLAGS_DOUBLESCAN)
|
||||
dmode->flags |= DRM_MODE_FLAG_DBLSCAN;
|
||||
if (vm->flags & DISPLAY_FLAGS_DOUBLECLK)
|
||||
dmode->flags |= DRM_MODE_FLAG_DBLCLK;
|
||||
drm_mode_set_name(dmode);
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue