39 lines · plain
1Introduction:2 SM750 of Silicon MOtion is pci express display controller device.3 The SM750 embedded graphics features include:4 - dual display5 - 2D acceleration6 - 16MB integrated video memory7 8About the kernel module parameter of driver:9 10 Use 1280,8bpp index color and 60 hz mode:11 insmod ./sm750fb.ko g_option="1280x1024-8@60"12 13 Disable MTRR,Disable 2d acceleration,Disable hardware cursor,14 and use a 800x600 mode :15 insmod ./sm750fb.ko g_option="noaccel:nomtrr:nohwc:800x600"16 17 dual frame buffer for driver with "dual" parameter18 insmod ./sm750fb.ko g_option="dual,800x600:1024x768"19 it will create fb0 and fb1 (or fb1,fb2 if fb0 already exist) under /dev20 and user can use con2fb to link fbX and ttyX21 22 Notes:23 1) if you build the driver with built-in method, the parameter24 you edited in the grub config file will be also the25 same format as above modular method,but additionally add26 "video=sm750fb:"27 ahead of parameters,so,it looks like:28 video=sm750fb:noaccel,1280x1024@60,otherparam,etc...29 it equal to modular method with below command:30 insmod ./sm750fb.ko g_option="noaccel:1280x1024@60:otherparm:etc..."31 32 2) if you put 800x600 into the parameter without bpp and33 refresh rate, kernel driver will defaulty use 16bpp and 60hz34 35Important:36 if you have vesafb enabled in your config then /dev/fb0 will be created by vesafb37 and this driver will use fb1, fb2. In that case, you need to configure your X-server38 to use fb1. Another simple althernative is to disable vesafb from your config.39