1. 15 4月, 2011 4 次提交
  2. 07 4月, 2011 8 次提交
  3. 02 4月, 2011 1 次提交
  4. 31 3月, 2011 4 次提交
  5. 29 3月, 2011 2 次提交
  6. 23 3月, 2011 13 次提交
  7. 22 3月, 2011 8 次提交
    • D
      fbcon: fix situation where fbcon gets deinitialised and can't reinit. · 32b98bf8
      Dave Airlie 提交于
      Situation as follow:
      2 GPUs + vesafb + kms.
      
      GPU 1 is primary, vesafb binds to it as fb0
      radeon loads
      GPU 0 loads as fb1
      GPU 1 loads, vesafb gets kicked off which causes fb0 to unbind
      console, which causes the dummy console to rebind.
      
      this means fbcon_deinit gets called, which calls fbcon_exit
      since the console isn't bound anymore and we set fbcon_has_exited.
      
      GPU 1 creates a new fb0 which is primary and we want to be console.
      fbcon_fb_registered gets called sets the primary up and calls set_con2fb_map,
      however as fbcon_has_exited is set nothing further ever happens.
      
      This patch bypasses the fbcon_has_exited and checks if the console is unbound,
      if its unbound it calls the fbcon_takeover which calls the vt layer to
      call the fbcon_startup method and everthing works.
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      32b98bf8
    • H
      video, sm501: add OF binding to support SM501 · 4295f9bf
      Heiko Schocher 提交于
      - add binding to OF, compatible name "smi,sm501"
      Signed-off-by: NHeiko Schocher <hs@denx.de>
      cc: linux-fbdev@vger.kernel.org
      cc: devicetree-discuss@ozlabs.org
      cc: Ben Dooks <ben@simtec.co.uk>
      cc: Vincent Sanders <vince@simtec.co.uk>
      cc: Samuel Ortiz <sameo@linux.intel.com>
      cc: linux-kernel@vger.kernel.org
      cc: Randy Dunlap <rdunlap@xenotime.net>
      cc: Paul Mundt <lethal@linux-sh.org>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      4295f9bf
    • H
      video, sm501: add edid and commandline support · e6a04980
      Heiko Schocher 提交于
      - add commandline options:
        sm501fb.mode:
          Specify resolution as "<xres>x<yres>[-<bpp>][@<refresh>]"
        sm501fb.bpp:
          Specify bit-per-pixel if not specified mode
      
      - Add support for encoding display mode information
        in the device tree using verbatim EDID block.
      
        If the "edid" entry in the "smi,sm501" node is present,
        the driver will build mode database using EDID data
        and allow setting the display modes from this database.
      Signed-off-by: NHeiko Schocher <hs@denx.de>
      cc: linux-fbdev@vger.kernel.org
      cc: devicetree-discuss@ozlabs.org
      cc: Ben Dooks <ben@simtec.co.uk>
      cc: Vincent Sanders <vince@simtec.co.uk>
      cc: Samuel Ortiz <sameo@linux.intel.com>
      cc: linux-kernel@vger.kernel.org
      cc: Randy Dunlap <rdunlap@xenotime.net>
      cc: Paul Mundt <lethal@linux-sh.org>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      e6a04980
    • H
      video, sm501: add I/O functions for use on powerpc · bf5f0019
      Heiko Schocher 提交于
      - add read/write functions for using this driver
        also on powerpc plattforms
      Signed-off-by: NHeiko Schocher <hs@denx.de>
      cc: linux-fbdev@vger.kernel.org
      cc: devicetree-discuss@ozlabs.org
      cc: Ben Dooks <ben@simtec.co.uk>
      cc: Vincent Sanders <vince@simtec.co.uk>
      cc: Samuel Ortiz <sameo@linux.intel.com>
      cc: linux-kernel@vger.kernel.org
      cc: Randy Dunlap <rdunlap@xenotime.net>
      cc: Paul Mundt <lethal@linux-sh.org>
      Acked-by: NSamuel Ortiz <sameo@linux.intel.com>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      bf5f0019
    • M
      video: Fix EDID macros H_SYNC_WIDTH and H_SYNC_OFFSET · dfc906da
      Martin Decky 提交于
      The macros for getting the values for horizontal sync width and offset
      do not respect the EDID specification. Both these values are 10 bit
      values according to [1], not 6 bit values. The lower 8 bits are stored
      in byte 8 and byte 9 of the DTD respectively, while two additional bits
      for each value are stored in byte 11. The original macros just slammed
      the bits together.
      
      Although the original macros usually worked fine because the higher two
      bits are rarely used, it can cause severe problems on plasma panels
      running at 1920x1080 @ 50 Hz with drivers that rely on the correct
      parsing of the EDID data by fbmon.c (e.g. udlfb).
      
      The patch should apply cleanly to both the fbdev-2.6.git branch and
      linux-next.git branch.
      
      [1] VESA Enhanced Extended Display Identification Data Standard,
           Release A, Revision 2, page 34, notes 7 & 8, VESA, Sep 2006
      Signed-off-by: NMartin Decky <martin@decky.cz>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      dfc906da
    • H
      fbcon: Bugfix soft cursor detection in Tile Blitting · d6244bc0
      Henry Nestler 提交于
      Use mask 0x10 for "soft cursor" detection on in function tile_cursor.
      (Tile Blitting Operation in framebuffer console).
      
      The old mask 0x01 for vc_cursor_type detects CUR_NONE, CUR_LOWER_THIRD
      and every second mode value as "software cursor". This hides the cursor
      for these modes (cursor.mode = 0). But, only CUR_NONE or "software cursor"
      should hide the cursor.
      See also 0x10 in functions add_softcursor, bit_cursor and cw_cursor.
      Signed-off-by: NHenry Nestler <henry.nestler@gmail.com>
      Cc: stable@kernel.org
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      d6244bc0
    • A
      video: add missing framebuffer_release in error path · 6359691d
      axel lin 提交于
      This patch fixes a memory leak in the error path.
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Acked-by: NDavid S. Miller <davem@davemloft.net>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      6359691d
    • A
      video: metronomefb: add __devexit_p around reference to metronomefb_remove · 1e93f390
      axel lin 提交于
      metronomefb_remove is marked __devexit,
      thus add __devexit_p around reference to metronomefb_remove.
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      1e93f390