Home
last modified time | relevance | path

Searched refs:mode_copy (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/tinydrm/core/
Dtinydrm-pipe.c184 struct drm_display_mode mode_copy; in tinydrm_display_pipe_init() local
188 drm_mode_copy(&mode_copy, mode); in tinydrm_display_pipe_init()
189 ret = tinydrm_rotate_mode(&mode_copy, rotation); in tinydrm_display_pipe_init()
195 drm->mode_config.min_width = mode_copy.hdisplay; in tinydrm_display_pipe_init()
196 drm->mode_config.max_width = mode_copy.hdisplay; in tinydrm_display_pipe_init()
197 drm->mode_config.min_height = mode_copy.vdisplay; in tinydrm_display_pipe_init()
198 drm->mode_config.max_height = mode_copy.vdisplay; in tinydrm_display_pipe_init()
200 connector = tinydrm_connector_create(drm, &mode_copy, connector_type); in tinydrm_display_pipe_init()