diff options
author | Seung-Woo Kim <sw0312.kim@samsung.com> | 2012-04-24 18:43:10 +0900 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2012-05-17 20:14:29 +0900 |
commit | 0d8071ee11734f92c33c1cc8926314c4e650622c (patch) | |
tree | 9bdf266cf5aee8336708c3c93f70632c7f7f936b /drivers/gpu/drm/exynos/exynos_drm_drv.h | |
parent | e540adf3421b1c79c80e4224caa4555284bd856b (diff) | |
download | lwn-0d8071ee11734f92c33c1cc8926314c4e650622c.tar.gz lwn-0d8071ee11734f92c33c1cc8926314c4e650622c.zip |
drm/exynos: added source size to overlay structure
Set plane has source size but exynos overlay structure did
not consider it. This patch adds source size to overlay
structure. For set crtc, source size is set from crtc size.
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_drv.h')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_drv.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.h b/drivers/gpu/drm/exynos/exynos_drm_drv.h index 1d814175cd49..5f5b36256731 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_drv.h +++ b/drivers/gpu/drm/exynos/exynos_drm_drv.h @@ -77,6 +77,8 @@ struct exynos_drm_overlay_ops { * - the unit is screen coordinates. * @fb_width: width of a framebuffer. * @fb_height: height of a framebuffer. + * @src_width: width of a partial image to be displayed from framebuffer. + * @src_height: height of a partial image to be displayed from framebuffer. * @crtc_x: offset x on hardware screen. * @crtc_y: offset y on hardware screen. * @crtc_width: window width to be displayed (hardware screen). @@ -108,6 +110,8 @@ struct exynos_drm_overlay { unsigned int fb_y; unsigned int fb_width; unsigned int fb_height; + unsigned int src_width; + unsigned int src_height; unsigned int crtc_x; unsigned int crtc_y; unsigned int crtc_width; |