]> Pileus Git - ~andy/linux/blobdiff - drivers/gpu/drm/exynos/exynos_drm_drv.h
drm/exynos: added source size to overlay structure
[~andy/linux] / drivers / gpu / drm / exynos / exynos_drm_drv.h
index 1d814175cd491d39d0411b31fa330c498f02c8c3..5f5b36256731609cd77dccb7eff40638cdb39573 100644 (file)
@@ -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;