Commit 0d3b3e79 authored by Jorge Zapata's avatar Jorge Zapata

More fixups and improvements on the video driver

This patch afixes several driver bugs
* Make the windows disabled by default at module load and unload
* Enable the attribute window
* Change the order of the windows, now osd0 is fb0, so the video mode change
  must be done on vid0 which is fb1
* Remove more unsued code
* Make the enable_digital output to not change the window configurations
* Add a new ioctl to enable color bar test mode
* Fix some of the rules of the check_var function, now the virtual size of the
  window is handled automatic based on the 32 bytes align constraints
parent a9af656e
This diff is collapsed.
...@@ -433,9 +433,9 @@ ...@@ -433,9 +433,9 @@
enum enum
{ {
DAVINCIFB_WIN_OSD0,
DAVINCIFB_WIN_VID0, DAVINCIFB_WIN_VID0,
DAVINCIFB_WIN_VID1, DAVINCIFB_WIN_VID1,
DAVINCIFB_WIN_OSD0,
DAVINCIFB_WIN_OSD1, DAVINCIFB_WIN_OSD1,
DAVINCIFB_WINDOWS DAVINCIFB_WINDOWS
}; };
...@@ -482,4 +482,5 @@ struct zoom_params ...@@ -482,4 +482,5 @@ struct zoom_params
#define FBIO_ENABLE _IOW('F', 0x26, u_int32_t) #define FBIO_ENABLE _IOW('F', 0x26, u_int32_t)
#define FBIO_TRANSP _IOW('F', 0x27, u_int32_t) #define FBIO_TRANSP _IOW('F', 0x27, u_int32_t)
#define FBIO_TRANSP_COLOR _IOW('F', 0x28, u_int32_t) #define FBIO_TRANSP_COLOR _IOW('F', 0x28, u_int32_t)
#define FBIO_CBTEST _IOW('F', 0x29, u_int32_t)
#endif /* _DAVINCIFB_H_ */ #endif /* _DAVINCIFB_H_ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment