Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1339056 > unrolled thread

[PATCH 7/7] video: fbdev: bt431: Correct cursor format control macro

Started by"Maciej W. Rozycki" <macro@linux-mips.org>
First post2016-02-22 03:00 +0100
Last post2016-02-22 03:00 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 7/7] video: fbdev: bt431: Correct cursor format control  macro "Maciej W. Rozycki" <macro@linux-mips.org> - 2016-02-22 03:00 +0100

#1339056 — [PATCH 7/7] video: fbdev: bt431: Correct cursor format control macro

From"Maciej W. Rozycki" <macro@linux-mips.org>
Date2016-02-22 03:00 +0100
Subject[PATCH 7/7] video: fbdev: bt431: Correct cursor format control macro
Message-ID<r4NX4-6FN-15@gated-at.bofh.it>
The Bt431 cursor generator supports simultaneous generation of a 64 x 64
and a cross hair cursor in which the cursor format control bit (bit D4)
of the command register "specifies whether the contents of the cursor
RAM are to be logically exclusive-ORed (logical zero) or ORed (logical
one) with the cross hair cursor".  Rename the relevant macro accordingly.

References:

[1] "Bt431 Monolithic CMOS 64 x 64 Pixel Cursor Generator", Brooktree
    Corporation, Document Number: L431001, Rev. J

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
---
linux-bt431-cmd-xor.diff
Index: linux-20160211-4maxp64/drivers/video/fbdev/bt431.h
===================================================================
--- linux-20160211-4maxp64.orig/drivers/video/fbdev/bt431.h
+++ linux-20160211-4maxp64/drivers/video/fbdev/bt431.h
@@ -63,7 +63,7 @@ static inline u8 bt431_get_value(u16 val
 #define BT431_CMD_CURS_ENABLE	0x40
 #define BT431_CMD_XHAIR_ENABLE	0x20
 #define BT431_CMD_OR_CURSORS	0x10
-#define BT431_CMD_AND_CURSORS	0x00
+#define BT431_CMD_XOR_CURSORS	0x00
 #define BT431_CMD_1_1_MUX	0x00
 #define BT431_CMD_4_1_MUX	0x04
 #define BT431_CMD_5_1_MUX	0x08

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web