@@ -22,6 +22,18 @@
*/
#define S3C_FB_MAX_WIN (5)
+/* struct s3cfb_window_pos
+ * @win_pos_x: X-coordinate of window from the left.
+ * @win_pos_y: Y-coordinate of window from the top.
+ */
+struct s3cfb_window_pos {
+ int win_pos_x;
+ int win_pos_y;
+};
+
+/* Custom ioctl */
+#define S3CFB_WIN_POSITION _IOW('F', 1, struct s3cfb_window_pos)
+
/**
* struct s3c_fb_pd_win - per window setup data
* @win_mode: The display parameters to initialise (not for window 0)
@@ -35,6 +47,8 @@ struct s3c_fb_pd_win {
unsigned short max_bpp;
unsigned short virtual_x;
unsigned short virtual_y;
+
+ struct s3cfb_window_pos winpos;
};
/**