216 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2#3# fbdev core configuration4#5 6config FB_CORE7 select VIDEO8 tristate9 10config FB_NOTIFY11 bool12 13config FIRMWARE_EDID14 bool "Enable firmware EDID"15 depends on FB16 help17 This enables access to the EDID transferred from the firmware.18 On the i386, this is from the Video BIOS. Enable this if DDC/I2C19 transfers do not work for your driver and if you are using20 nvidiafb, i810fb or savagefb.21 22 In general, choosing Y for this option is safe. If you23 experience extremely long delays while booting before you get24 something on your display, try setting this to N. Matrox cards in25 combination with certain motherboards and monitors are known to26 suffer from this problem.27 28config FB_DEVICE29 bool "Provide legacy /dev/fb* device"30 depends on FB_CORE31 default FB32 help33 Say Y here if you want the legacy /dev/fb* device file and34 interfaces within sysfs anc procfs. It is only required if you35 have userspace programs that depend on fbdev for graphics output.36 This does not affect the framebuffer console. If unsure, say N.37 38config FB_DDC39 tristate40 depends on FB41 select I2C_ALGOBIT42 select I2C43 44config FB_CFB_FILLRECT45 tristate46 depends on FB_CORE47 help48 Include the cfb_fillrect function for generic software rectangle49 filling. This is used by drivers that don't provide their own50 (accelerated) version.51 52config FB_CFB_COPYAREA53 tristate54 depends on FB_CORE55 help56 Include the cfb_copyarea function for generic software area copying.57 This is used by drivers that don't provide their own (accelerated)58 version.59 60config FB_CFB_IMAGEBLIT61 tristate62 depends on FB_CORE63 help64 Include the cfb_imageblit function for generic software image65 blitting. This is used by drivers that don't provide their own66 (accelerated) version.67 68config FB_CFB_REV_PIXELS_IN_BYTE69 bool70 depends on FB_CORE71 help72 Allow generic frame-buffer functions to work on displays with 1, 273 and 4 bits per pixel depths which has opposite order of pixels in74 byte order to bytes in long order.75 76config FB_SYS_FILLRECT77 tristate78 depends on FB_CORE79 help80 Include the sys_fillrect function for generic software rectangle81 filling. This is used by drivers that don't provide their own82 (accelerated) version and the framebuffer is in system RAM.83 84config FB_SYS_COPYAREA85 tristate86 depends on FB_CORE87 help88 Include the sys_copyarea function for generic software area copying.89 This is used by drivers that don't provide their own (accelerated)90 version and the framebuffer is in system RAM.91 92config FB_SYS_IMAGEBLIT93 tristate94 depends on FB_CORE95 help96 Include the sys_imageblit function for generic software image97 blitting. This is used by drivers that don't provide their own98 (accelerated) version and the framebuffer is in system RAM.99 100config FB_PROVIDE_GET_FB_UNMAPPED_AREA101 bool102 depends on FB103 help104 Allow generic frame-buffer to provide get_fb_unmapped_area105 function to provide shareable character device support on nommu.106 107menuconfig FB_FOREIGN_ENDIAN108 bool "Framebuffer foreign endianness support"109 depends on FB110 help111 This menu will let you enable support for the framebuffers with112 non-native endianness (e.g. Little-Endian framebuffer on a113 Big-Endian machine). Most probably you don't have such hardware,114 so it's safe to say "n" here.115 116choice117 prompt "Choice endianness support"118 depends on FB_FOREIGN_ENDIAN119 120config FB_BOTH_ENDIAN121 bool "Support for Big- and Little-Endian framebuffers"122 123config FB_BIG_ENDIAN124 bool "Support for Big-Endian framebuffers only"125 126config FB_LITTLE_ENDIAN127 bool "Support for Little-Endian framebuffers only"128 129endchoice130 131config FB_SYSMEM_FOPS132 tristate133 depends on FB_CORE134 135config FB_DEFERRED_IO136 bool137 depends on FB_CORE138 139config FB_DMAMEM_HELPERS140 bool141 depends on FB_CORE142 select FB_SYS_COPYAREA143 select FB_SYS_FILLRECT144 select FB_SYS_IMAGEBLIT145 select FB_SYSMEM_FOPS146 147config FB_DMAMEM_HELPERS_DEFERRED148 bool149 depends on FB_CORE150 select FB_DEFERRED_IO151 select FB_DMAMEM_HELPERS152 153config FB_IOMEM_FOPS154 tristate155 depends on FB_CORE156 157config FB_IOMEM_HELPERS158 bool159 depends on FB_CORE160 select FB_CFB_COPYAREA161 select FB_CFB_FILLRECT162 select FB_CFB_IMAGEBLIT163 select FB_IOMEM_FOPS164 165config FB_IOMEM_HELPERS_DEFERRED166 bool167 depends on FB_CORE168 select FB_DEFERRED_IO169 select FB_IOMEM_HELPERS170 171config FB_SYSMEM_HELPERS172 bool173 depends on FB_CORE174 select FB_SYS_COPYAREA175 select FB_SYS_FILLRECT176 select FB_SYS_IMAGEBLIT177 select FB_SYSMEM_FOPS178 179config FB_SYSMEM_HELPERS_DEFERRED180 bool181 depends on FB_CORE182 select FB_DEFERRED_IO183 select FB_SYSMEM_HELPERS184 185config FB_BACKLIGHT186 tristate187 depends on FB188 select BACKLIGHT_CLASS_DEVICE189 190config FB_MODE_HELPERS191 bool "Enable Video Mode Handling Helpers"192 depends on FB193 help194 This enables functions for handling video modes using the195 Generalized Timing Formula and the EDID parser. A few drivers rely196 on this feature such as the radeonfb, rivafb, and the i810fb. If197 your driver does not take advantage of this feature, choosing Y will198 just increase the kernel size by about 5K.199 200config FB_TILEBLITTING201 bool "Enable Tile Blitting Support"202 depends on FB203 help204 This enables tile blitting. Tile blitting is a drawing technique205 where the screen is divided into rectangular sections (tiles), whereas206 the standard blitting divides the screen into pixels. Because the207 default drawing element is a tile, drawing functions will be passed208 parameters in terms of number of tiles instead of number of pixels.209 For example, to draw a single character, instead of using bitmaps,210 an index to an array of bitmaps will be used. To clear or move a211 rectangular section of a screen, the rectangle will be described in212 terms of number of tiles in the x- and y-axis.213 214 This is particularly important to one driver, matroxfb. If215 unsure, say N.216