1. 23 9月, 2009 1 次提交
    • J
      matroxfb: make CONFIG_FB_MATROX_MULTIHEAD=y mandatory · 0728bacb
      Jean Delvare 提交于
      I would like to get rid of option CONFIG_FB_MATROX_MULTIHEAD and just
      always enable it.  There are many reasons for doing this:
      
      * CONFIG_FB_MATROX_MULTIHEAD=y is what all x86 distributions do, so it
        definitely works or we would know by now.
      
      * Building the matroxfb driver with CONFIG_FB_MATROX_MULTIHEAD not set
        results in the following build warning:
      
      drivers/video/matrox/matroxfb_crtc2.c: In function 'matroxfb_dh_open':
      drivers/video/matrox/matroxfb_crtc2.c:265: warning: the address of 'matroxfb_global_mxinfo' will always evaluate as 'true'
      drivers/video/matrox/matroxfb_crtc2.c: In function 'matroxfb_dh_release':
      drivers/video/matrox/matroxfb_crtc2.c:285: warning: the address of 'matroxfb_global_mxinfo' will always evaluate as 'true'
      
      This is nothing to be worried about, the driver will work fine, but build
      warnings are still annoying.
      
      * The trick to get multihead support without CONFIG_FB_MATROX_MULTIHEAD,
        which is described in the config help text, no longer works: you can't
        load the same kernel module more than once.
      
      * I fail to see how CONFIG_FB_MATROX_MULTIHEAD=y would make the code
        significantly slower, contrary to what the help text says.  A few extra
        parameters on the stack here and there can't really slow things down in
        comaprison to the rest of the code, and register access.
      
      * The driver built without CONFIG_FB_MATROX_MULTIHEAD is larger than the
        driver build with CONFIG_FB_MATROX_MULTIHEAD=y by 8%.
      
      * One less configuration option makes things simpler.  We add options
        all the time, being able to remove one for once is nice.  It improves
        testing coverage.  And I don't think the Matrox adapters are still
        popular enough to warrant overdetailed configuration settings.
      
      * We should be able to unobfuscate the driver code quite a bit after
        this change (patches follow.)
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Acked-by: NPetr Vandrovec <vandrove@vc.cvut.cz>
      Cc: Krzysztof Helt <krzysztof.h1@poczta.fm>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      0728bacb
  2. 29 4月, 2008 1 次提交
  3. 28 4月, 2008 1 次提交
  4. 12 8月, 2007 1 次提交
  5. 09 5月, 2007 1 次提交
  6. 01 7月, 2006 1 次提交
  7. 19 2月, 2006 1 次提交
  8. 11 1月, 2006 1 次提交
  9. 10 9月, 2005 1 次提交
    • I
      [PATCH] matroxfb: read MGA PInS data on PowerPC · 5c06e2aa
      Ian Romanick 提交于
      This updates the matroxfb code so that it can find the PInS data embedded
      in the BIOS on PowerPC cards.  The process for finding the data is
      different on OpenFirmware cards than on x86 cards, and the code for doing
      so was missing.
      
      After patching, building, installing, and booting a kernel, you should grep
      for "PInS" in /var/log/messages.  You should see two messages in the log:
      
      PInS data found at offset XXXXX
      PInS memtype = X
      
      On the GXT135p card I get "31168" and "5".  The first value is irrelevant,
      but it's presence lets me know that the PInS data was actually found.  On a
      GXT130p, the second value should be 3.  Since I don't have access to that
      hardware, if someone can verify that, I will submit a follow-on patch that
      rips out all the memtype parameter stuff.
      Signed-off-by: NIan Romanick <idr@us.ibm.com>
      Signed-off-by: NPetr Vandrovec <vandrove@vc.cvut.cz>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      5c06e2aa
  10. 26 6月, 2005 1 次提交
  11. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4