From: Ajay Kumar <ajaykumar.rs@samsung.com>
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] ARM: SAMSUNG: Add Window Positioning Support for s3c-fb
Date: Thu, 25 Aug 2011 13:54:49 +0000 [thread overview]
Message-ID: <1314301917-9938-2-git-send-email-ajaykumar.rs@samsung.com> (raw)
In-Reply-To: <1314301917-9938-1-git-send-email-ajaykumar.rs@samsung.com>
This patch:
--adds a data-structure to hold the current position of windows.
--adds an ioctl number to support dynamic positioning the windows.
Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
Signed-off-by: Banajit Goswami <banajit.g@samsung.com>
---
arch/arm/plat-samsung/include/plat/fb.h | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/arch/arm/plat-samsung/include/plat/fb.h b/arch/arm/plat-samsung/include/plat/fb.h
index bd79c0a..77ed75c 100644
--- a/arch/arm/plat-samsung/include/plat/fb.h
+++ b/arch/arm/plat-samsung/include/plat/fb.h
@@ -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;
};
/**
--
1.7.0.4
WARNING: multiple messages have this Message-ID (diff)
From: Ajay Kumar <ajaykumar.rs@samsung.com>
To: linux-samsung-soc@vger.kernel.org, linux-fbdev@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Cc: FlorianSchandinat@gmx.de, lethal@linux-sh.org,
jg1.han@samsung.com, m.szyprowski@samsung.com,
ben-linux@fluff.org, banajit.g@samsung.com
Subject: [PATCH 1/2] ARM: SAMSUNG: Add Window Positioning Support for s3c-fb driver
Date: Thu, 25 Aug 2011 15:51:56 -0400 [thread overview]
Message-ID: <1314301917-9938-2-git-send-email-ajaykumar.rs@samsung.com> (raw)
In-Reply-To: <1314301917-9938-1-git-send-email-ajaykumar.rs@samsung.com>
This patch:
--adds a data-structure to hold the current position of windows.
--adds an ioctl number to support dynamic positioning the windows.
Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
Signed-off-by: Banajit Goswami <banajit.g@samsung.com>
---
arch/arm/plat-samsung/include/plat/fb.h | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/arch/arm/plat-samsung/include/plat/fb.h b/arch/arm/plat-samsung/include/plat/fb.h
index bd79c0a..77ed75c 100644
--- a/arch/arm/plat-samsung/include/plat/fb.h
+++ b/arch/arm/plat-samsung/include/plat/fb.h
@@ -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;
};
/**
--
1.7.0.4
WARNING: multiple messages have this Message-ID (diff)
From: ajaykumar.rs@samsung.com (Ajay Kumar)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] ARM: SAMSUNG: Add Window Positioning Support for s3c-fb driver
Date: Thu, 25 Aug 2011 15:51:56 -0400 [thread overview]
Message-ID: <1314301917-9938-2-git-send-email-ajaykumar.rs@samsung.com> (raw)
In-Reply-To: <1314301917-9938-1-git-send-email-ajaykumar.rs@samsung.com>
This patch:
--adds a data-structure to hold the current position of windows.
--adds an ioctl number to support dynamic positioning the windows.
Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
Signed-off-by: Banajit Goswami <banajit.g@samsung.com>
---
arch/arm/plat-samsung/include/plat/fb.h | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/arch/arm/plat-samsung/include/plat/fb.h b/arch/arm/plat-samsung/include/plat/fb.h
index bd79c0a..77ed75c 100644
--- a/arch/arm/plat-samsung/include/plat/fb.h
+++ b/arch/arm/plat-samsung/include/plat/fb.h
@@ -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;
};
/**
--
1.7.0.4
next prev parent reply other threads:[~2011-08-25 13:54 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-25 13:54 [PATCH 0/2] video: s3c-fb: Add window positioning support Ajay Kumar
2011-08-25 19:51 ` Ajay Kumar
2011-08-25 19:51 ` Ajay Kumar
2011-08-25 13:54 ` Ajay Kumar [this message]
2011-08-25 19:51 ` [PATCH 1/2] ARM: SAMSUNG: Add Window Positioning Support for s3c-fb driver Ajay Kumar
2011-08-25 19:51 ` Ajay Kumar
2011-08-25 13:54 ` [PATCH 2/2] video: s3c-fb: Modify s3c-fb driver to support window Ajay Kumar
2011-08-25 19:51 ` [PATCH 2/2] video: s3c-fb: Modify s3c-fb driver to support window positioning Ajay Kumar
2011-08-25 19:51 ` Ajay Kumar
2011-09-01 16:45 ` [PATCH 0/2] video: s3c-fb: Add window positioning support Florian Tobias Schandinat
2011-09-01 16:45 ` Florian Tobias Schandinat
2011-09-01 16:45 ` Florian Tobias Schandinat
2011-09-02 9:58 ` Tomi Valkeinen
2011-09-02 9:58 ` Tomi Valkeinen
2011-09-02 9:58 ` Tomi Valkeinen
2011-09-06 14:16 ` Ajay kumar
2011-09-06 14:28 ` Ajay kumar
2011-09-06 14:16 ` Ajay kumar
2011-09-07 15:31 ` Laurent Pinchart
2011-09-07 15:31 ` Laurent Pinchart
2011-09-07 15:31 ` Laurent Pinchart
2011-09-07 15:31 ` Laurent Pinchart
2011-09-18 19:29 ` Florian Tobias Schandinat
2011-09-18 19:29 ` Florian Tobias Schandinat
2011-09-18 19:29 ` Florian Tobias Schandinat
2011-09-18 20:39 ` Laurent Pinchart
2011-09-18 20:39 ` Laurent Pinchart
2011-09-18 20:39 ` Laurent Pinchart
2011-08-26 0:44 [PATCH 2/2] video: s3c-fb: Modify s3c-fb driver to support window positioning JinGoo Han
2011-08-26 0:44 ` [PATCH 2/2] video: s3c-fb: Modify s3c-fb driver to support window JinGoo Han
2011-08-26 5:21 ` [PATCH 2/2] video: s3c-fb: Modify s3c-fb driver to support window positioning Ajay kumar
2011-08-26 5:33 ` Ajay kumar
2011-08-26 5:21 ` Ajay kumar
2011-08-26 5:56 [PATCH 1/2] ARM: SAMSUNG: Add Window Positioning Support for s3c-fb driver Jingoo Han
2011-08-26 5:56 ` [PATCH 1/2] ARM: SAMSUNG: Add Window Positioning Support for Jingoo Han
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1314301917-9938-2-git-send-email-ajaykumar.rs@samsung.com \
--to=ajaykumar.rs@samsung.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.