blob: cfa45958b9d275bc9f2c7b96af14067b1a9ff038 [file] [log] [blame]
Sudip Mukherjee81dee672015-03-03 16:21:06 +05301Introduction:
2 SM750 of Silicon MOtion is pci express display controller device.
3 The SM750 embedded graphics features include:
4 - dual display
5 - 2D acceleration
6 - 16MB integrated video memory
7
Carlos E. Garcia69e98df2015-04-24 09:40:42 -04008About the kernel module parameter of driver:
Sudip Mukherjee81dee672015-03-03 16:21:06 +05309
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" parameter
18 insmod ./sm750fb.ko g_option="dual,800x600:1024x768"
19 it will create fb0 and fb1 (or fb1,fb2 if fb0 already exist) under /dev
20 and user can use con2fb to link fbX and ttyX
21
22 Notes:
Carlos E. Garcia69e98df2015-04-24 09:40:42 -040023 1) if you build the driver with built-in method, the parameter
Sudip Mukherjee81dee672015-03-03 16:21:06 +053024 you edited in the grub config file will be also the
Carlos E. Garcia69e98df2015-04-24 09:40:42 -040025 same format as above modular method,but additionally add
Sudip Mukherjee81dee672015-03-03 16:21:06 +053026 "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
Carlos E. Garcia69e98df2015-04-24 09:40:42 -040032 2) if you put 800x600 into the parameter without bpp and
Sudip Mukherjee81dee672015-03-03 16:21:06 +053033 refresh rate, kernel driver will defaulty use 16bpp and 60hz
34
35Important:
36 if you have vesafb enabled in your config then /dev/fb0 will be created by vesafb
37 and this driver will use fb1, fb2. In that case, you need to configure your X-server
38 to use fb1. Another simple althernative is to disable vesafb from your config.