Changeset 0e63d34 in mainline for uspace/drv/fb/amdm37x_dispc/amdm37x_dispc.c
- Timestamp:
- 2013-01-24T21:15:02Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 077b9172, 24bead17
- Parents:
- c124dce3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/fb/amdm37x_dispc/amdm37x_dispc.c
rc124dce3 r0e63d34 42 42 #include "amdm37x_dispc.h" 43 43 44 #ifndef CONFIG_BFB_BPP 45 #define CONFIG_BFB_BPP 24 46 #endif 47 48 #ifndef CONFIG_BFB_WIDTH 49 #define CONFIG_BFB_WIDTH 1024 50 #endif 51 52 #ifndef CONFIG_BFB_HEIGHT 53 #define CONFIG_BFB_HEIGHT 768 54 #endif 55 56 44 57 static int change_mode(visualizer_t *vis, vslmode_t mode); 45 58 static int handle_damage(visualizer_t *vs, … … 109 122 instance->size = 0; 110 123 111 visual_t visual = VISUAL_UNKNOWN;112 124 /* Default is 24bpp, use config option if available */ 125 visual_t visual = VISUAL_BGR_8_8_8; 113 126 switch (CONFIG_BFB_BPP) { 114 127 case 8: visual = VISUAL_INDIRECT_8; break;
Note:
See TracChangeset
for help on using the changeset viewer.