1. 24 3月, 2012 6 次提交
  2. 21 3月, 2012 6 次提交
  3. 20 3月, 2012 2 次提交
    • A
      fbdev: da8xx: add support for SP10Q010 display · f413070e
      Anatolij Gustschin 提交于
      Add timing data for Hitachi SP10Q010 display and allow configuration
      of the 4bpp palette. For 4bpp framebuffer enable reversed order of
      pixels in a byte. This requires defining FB_CFB_REV_PIXELS_IN_BYTE
      and additionally setting var.nonstd to the value FB_NONSTD_REV_PIX_IN_B.
      Note that it is not enough to set da8xx_fb_var.nonstd to this value
      statically, since FBIOPUT_VSCREENINFO ioctl might pass var struct with
      .nonstd field set to zero or another value. Therefore this setting must
      be adjusted in fb_check_var() according to the requested bpp value.
      Signed-off-by: NAnatolij Gustschin <agust@denx.de>
      Cc: Manjunathappa, Prakash <prakash.pm@ti.com>
      Signed-off-by: NFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
      f413070e
    • A
      fbdev: da8xx:: fix reporting of the display timing info · 084e104b
      Anatolij Gustschin 提交于
      Timing info is not properly reported by the driver, e.g.:
      
      $ fbset -i
      mode "480x272-35"
          # D: 7.895 MHz, H: 12.165 kHz, V: 35.158 Hz
          geometry 480 272 480 544 16
          timings 126666 64 64 32 32 41 10
      
      According to the timing values defined for LK043T1DG01 display
      it should be reported as:
      
      mode "480x272-53"
          # D: 7.895 MHz, H: 15.038 kHz, V: 52.579 Hz
          geometry 480 272 480 544 16
          timings 126666 2 2 2 2 41 10
      
      Initialize additional fb_var_screeninfo fields so fix this problem.
      Signed-off-by: NAnatolij Gustschin <agust@denx.de>
      Cc: Manjunathappa, Prakash <prakash.pm@ti.com>
      Signed-off-by: NFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
      084e104b
  4. 16 3月, 2012 2 次提交
  5. 15 3月, 2012 1 次提交
    • K
      udlfb: remove sysfs framebuffer device with USB .disconnect() · ce880cb8
      Kay Sievers 提交于
      The USB graphics card driver delays the unregistering of the framebuffer
      device to a workqueue, which breaks the userspace visible remove uevent
      sequence. Recent userspace tools started to support USB graphics card
      hotplug out-of-the-box and rely on proper events sent by the kernel.
      
      The framebuffer device is a direct child of the USB interface which is
      removed immediately after the USB .disconnect() callback. But the fb device
      in /sys stays around until its final cleanup, at a time where all the parent
      devices have been removed already.
      
      To work around that, we remove the sysfs fb device directly in the USB
      .disconnect() callback and leave only the cleanup of the internal fb
      data to the delayed work.
      
      Before:
       add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2 (usb)
       add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0 (usb)
       add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/graphics/fb0 (graphics)
       remove   /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0 (usb)
       remove   /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2 (usb)
       remove   /2-1.2:1.0/graphics/fb0 (graphics)
      
      After:
       add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2 (usb)
       add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0 (usb)
       add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/graphics/fb1 (graphics)
       remove   /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/graphics/fb1 (graphics)
       remove   /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0 (usb)
       remove   /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2 (usb)
      
      Cc: stable@vger.kernel.org
      Tested-by: NBernie Thompson <bernie@plugable.com>
      Acked-by: NBernie Thompson <bernie@plugable.com>
      Signed-off-by: NKay Sievers <kay.sievers@vrfy.org>
      Signed-off-by: NFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
      ce880cb8
  6. 14 3月, 2012 1 次提交
  7. 13 3月, 2012 22 次提交