1. 05 1月, 2012 1 次提交
  2. 31 12月, 2011 1 次提交
  3. 28 12月, 2011 1 次提交
    • H
      Input: add driver for AUO In-Cell touchscreens using pixcir ICs · 5245db49
      Heiko Stübner 提交于
      Some displays from AUO have a so called in-cell touchscreen, meaning it
      is built directly into the display unit.
      
      Touchdata is gathered through PIXCIR Tango-ICs and processed in an
      Atmel ATmega168P with custom firmware. Communication between the host
      system and ATmega is done via I2C.
      
      Devices using this touch solution include the Dell Streak5 and the family
      of Qisda ebook readers.
      
      The driver reports single- and multi-touch events including touch area
      values.
      Signed-off-by: NHeiko Stuebner <heiko@sntech.de>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      5245db49
  4. 12 12月, 2011 1 次提交
  5. 01 12月, 2011 1 次提交
    • H
      Input: add generic GPIO-tilt driver · 3bfd5c5b
      Heiko Stübner 提交于
      There exist tilt switches that simply report their tilt-state via
      some gpios. The number and orientation of their axes can vary
      depending on the switch used and the build of the device. Also two
      or more one-axis switches could be combined to provide multi-dimensional
      orientation.
      
      One example of a device using such a switch is the family of Qisda
      ebook readers, where the switch provides information about the
      landscape / portrait orientation of the device. The example in
      Documentation/input/gpio-tilt.txt documents exactly this one-axis
      device.
      Signed-off-by: NHeiko Stuebner <heiko@sntech.de>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      3bfd5c5b
  6. 24 11月, 2011 2 次提交
  7. 23 11月, 2011 3 次提交
  8. 20 11月, 2011 1 次提交
    • M
      drm/radeon/kms: add a CS ioctl flag not to rewrite tiling flags in the CS · e70f224c
      Marek Olšák 提交于
      This adds a new optional chunk to the CS ioctl that specifies optional flags
      to the CS parser. Why this is useful is explained below. Note that some regs
      no longer need the NOP relocation packet if this feature is enabled.
      Tested on r300g and r600g with this flag disabled and enabled.
      
      Assume there are two contexts sharing the same mipmapped tiled texture.
      One context wants to render into the first mipmap and the other one
      wants to render into the last mipmap. As you probably know, the hardware
      has a MACRO_SWITCH feature, which turns off macro tiling for small mipmaps,
      but that only applies to samplers.
      (at least on r300-r500, though later hardware likely behaves the same)
      
      So we want to just re-set the tiling flags before rendering (writing
      packets), right? ... No. The contexts run in parallel, so they may
      set the tiling flags simultaneously and then fire their command streams
      also simultaneously. The last one setting the flags wins, the other one
      loses.
      
      Another problem is when one context wants to render into the first and
      the last mipmap in one CS. Impossible. It must flush before changing
      tiling flags and do the rendering into the smaller mipmaps in another CS.
      
      Yet another problem is that writing copy_blit in userspace would be a mess
      involving re-setting tiling flags to please the kernel, and causing races
      with other contexts at the same time.
      
      The only way out of this is to send tiling flags with each CS, ideally
      with each relocation. But we already do that through the registers.
      So let's just use what we have in the registers.
      Signed-off-by: NMarek Olšák <maraeo@gmail.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      e70f224c
  9. 19 11月, 2011 1 次提交
    • D
      hugetlb: remove dummy definitions of HPAGE_MASK and HPAGE_SIZE · a5c86e98
      David Rientjes 提交于
      Dummy, non-zero definitions for HPAGE_MASK and HPAGE_SIZE were added in
      51c6f666 ("mm: ZAP_BLOCK causes redundant work") to avoid a divide
      by zero in generic kernel code.
      
      That code has since been removed, but probably should never have been
      added in the first place: we don't want HPAGE_SIZE to act like PAGE_SIZE
      for code that is working with hugepages, for example, when the
      dependency on CONFIG_HUGETLB_PAGE has not been fulfilled.
      
      Because hugepage size can differ from architecture to architecture, each
      is required to have their own definitions for both HPAGE_MASK and
      HPAGE_SIZE.  This is always done in arch/*/include/asm/page.h.
      
      So, just remove the dummy and dangerous definitions since they are no
      longer needed and reveals the correct dependencies.  Tested on
      architectures using the definitions with allyesconfig: x86 (even with
      thp), hppa, mips, powerpc, s390, sh3, sh4, sparc, and sparc64, and with
      defconfig on ia64.
      Signed-off-by: NDavid Rientjes <rientjes@google.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      a5c86e98
  10. 18 11月, 2011 1 次提交
    • R
      PM Sleep: Do not extend wakeup paths to devices with ignore_children set · 8b258cc8
      Rafael J. Wysocki 提交于
      Commit 4ca46ff3 (PM / Sleep: Mark
      devices involved in wakeup signaling during suspend) introduced
      the power.wakeup_path field in struct dev_pm_info to mark devices
      whose children are enabled to wake up the system from sleep states,
      so that power domains containing the parents that provide their
      children with wakeup power and/or relay their wakeup signals are not
      turned off.  Unfortunately, that introduced a PM regression on SH7372
      whose power consumption in the system "memory sleep" state increased
      as a result of it, because it prevented the power domain containing
      the I2C controller from being turned off when some children of that
      controller were enabled to wake up the system, although the
      controller was not necessary for them to signal wakeup.
      
      To fix this issue use the observation that devices whose
      power.ignore_children flag is set for runtime PM should be treated
      analogously during system suspend.  Namely, they shouldn't be
      included in wakeup paths going through their children.  Since the
      SH7372 I2C controller's power.ignore_children flag is set, doing so
      will restore the previous behavior of that SOC.
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Acked-by: NGreg Kroah-Hartman <gregkh@suse.de>
      8b258cc8
  11. 17 11月, 2011 5 次提交
  12. 16 11月, 2011 6 次提交
  13. 14 11月, 2011 1 次提交
  14. 12 11月, 2011 1 次提交
  15. 11 11月, 2011 6 次提交
  16. 10 11月, 2011 1 次提交
  17. 09 11月, 2011 3 次提交
  18. 08 11月, 2011 3 次提交
  19. 07 11月, 2011 1 次提交