1. 13 12月, 2011 3 次提交
  2. 24 11月, 2011 3 次提交
  3. 23 11月, 2011 10 次提交
  4. 22 11月, 2011 1 次提交
  5. 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
  6. 19 11月, 2011 11 次提交
    • R
      staging: fix more ET131X build errors · c9fb041f
      Randy Dunlap 提交于
      ET131X is a network device, so it should depend on
      NETDEVICES.  (This part won't be needed when the driver
      moves to drivers/net/.)  It also uses PHYLIB interfaces,
      so it should select PHYLIB.  Fixes these build errors:
      
      ERROR: "phy_connect" [drivers/staging/et131x/et131x.ko] undefined!
      ERROR: "phy_find_first" [drivers/staging/et131x/et131x.ko] undefined!
      ERROR: "mdiobus_register" [drivers/staging/et131x/et131x.ko] undefined!
      ERROR: "mdiobus_alloc" [drivers/staging/et131x/et131x.ko] undefined!
      ERROR: "phy_stop" [drivers/staging/et131x/et131x.ko] undefined!
      ERROR: "phy_start" [drivers/staging/et131x/et131x.ko] undefined!
      ERROR: "mdiobus_free" [drivers/staging/et131x/et131x.ko] undefined!
      ERROR: "mdiobus_unregister" [drivers/staging/et131x/et131x.ko] undefined!
      ERROR: "phy_print_status" [drivers/staging/et131x/et131x.ko] undefined!
      ERROR: "phy_ethtool_gset" [drivers/staging/et131x/et131x.ko] undefined!
      ERROR: "phy_ethtool_sset" [drivers/staging/et131x/et131x.ko] undefined!
      ERROR: "phy_mii_ioctl" [drivers/staging/et131x/et131x.ko] undefined!
      Signed-off-by: NRandy Dunlap <rdunlap@xenotime.net>
      Acked-by: N: Mark Einon <mark.einon@gmail.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      c9fb041f
    • R
      staging: et131x depends on NET · 0337510f
      Randy Dunlap 提交于
      ET131X uses netdev interfaces so it should depend on NET.
      
      Fixes these build errors:
      ERROR: "ethtool_op_get_link" [drivers/staging/et131x/et131x.ko] undefined!
      ERROR: "eth_validate_addr" [drivers/staging/et131x/et131x.ko] undefined!
      ERROR: "register_netdev" [drivers/staging/et131x/et131x.ko] undefined!
      ERROR: "phy_connect" [drivers/staging/et131x/et131x.ko] undefined!
      ERROR: "phy_find_first" [drivers/staging/et131x/et131x.ko] undefined!
      ERROR: "mdiobus_register" [drivers/staging/et131x/et131x.ko] undefined!
      ERROR: "mdiobus_alloc" [drivers/staging/et131x/et131x.ko] undefined!
      ERROR: "alloc_etherdev_mqs" [drivers/staging/et131x/et131x.ko] undefined!
      ERROR: "netif_device_detach" [drivers/staging/et131x/et131x.ko] undefined!
      ERROR: "phy_stop" [drivers/staging/et131x/et131x.ko] undefined!
      ERROR: "netif_device_attach" [drivers/staging/et131x/et131x.ko] undefined!
      ERROR: "phy_start" [drivers/staging/et131x/et131x.ko] undefined!
      ERROR: "free_netdev" [drivers/staging/et131x/et131x.ko] undefined!
      ERROR: "mdiobus_free" [drivers/staging/et131x/et131x.ko] undefined!
      ERROR: "mdiobus_unregister" [drivers/staging/et131x/et131x.ko] undefined!
      ERROR: "unregister_netdev" [drivers/staging/et131x/et131x.ko] undefined!
      ERROR: "__netif_schedule" [drivers/staging/et131x/et131x.ko] undefined!
      ERROR: "phy_print_status" [drivers/staging/et131x/et131x.ko] undefined!
      ERROR: "dev_kfree_skb_any" [drivers/staging/et131x/et131x.ko] undefined!
      ERROR: "dev_alloc_skb" [drivers/staging/et131x/et131x.ko] undefined!
      ERROR: "netif_rx" [drivers/staging/et131x/et131x.ko] undefined!
      ERROR: "eth_type_trans" [drivers/staging/et131x/et131x.ko] undefined!
      ERROR: "skb_put" [drivers/staging/et131x/et131x.ko] undefined!
      ERROR: "phy_ethtool_gset" [drivers/staging/et131x/et131x.ko] undefined!
      ERROR: "phy_ethtool_sset" [drivers/staging/et131x/et131x.ko] undefined!
      ERROR: "phy_mii_ioctl" [drivers/staging/et131x/et131x.ko] undefined!
      Signed-off-by: NRandy Dunlap <rdunlap@xenotime.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      0337510f
    • R
      staging: slicoss depends on NET · 07de7a5e
      Randy Dunlap 提交于
      The slicoss driver uses network interfaces so it should depend
      on NET.  Fixes the following build errors:
      
      ERROR: "eth_change_mtu" [drivers/staging/slicoss/slicoss.ko] undefined!
      ERROR: "eth_validate_addr" [drivers/staging/slicoss/slicoss.ko] undefined!
      ERROR: "register_netdev" [drivers/staging/slicoss/slicoss.ko] undefined!
      ERROR: "alloc_etherdev_mqs" [drivers/staging/slicoss/slicoss.ko] undefined!
      ERROR: "__netif_schedule" [drivers/staging/slicoss/slicoss.ko] undefined!
      ERROR: "netif_rx" [drivers/staging/slicoss/slicoss.ko] undefined!
      ERROR: "eth_type_trans" [drivers/staging/slicoss/slicoss.ko] undefined!
      ERROR: "skb_put" [drivers/staging/slicoss/slicoss.ko] undefined!
      ERROR: "skb_pull" [drivers/staging/slicoss/slicoss.ko] undefined!
      ERROR: "__alloc_skb" [drivers/staging/slicoss/slicoss.ko] undefined!
      ERROR: "free_netdev" [drivers/staging/slicoss/slicoss.ko] undefined!
      ERROR: "unregister_netdev" [drivers/staging/slicoss/slicoss.ko] undefined!
      ERROR: "consume_skb" [drivers/staging/slicoss/slicoss.ko] undefined!
      ERROR: "dev_kfree_skb_irq" [drivers/staging/slicoss/slicoss.ko] undefined!
      Signed-off-by: NRandy Dunlap <rdunlap@xenotime.net>
      Cc: Lior Dotan <liodot@gmail.com>
      Cc: Christopher Harrer <charrer@alacritech.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      07de7a5e
    • M
      linux-next: et131x: Fix build error when CONFIG_PM_SLEEP not enabled · 2e9ff8d9
      Mark Einon 提交于
      Randy Dunlap reports that the ex131x driver doesn't build when CONFIG_PM_SLEEP is not enabled.
      This bug was introduced when moving code around to remove some forward declarations earlier, the #endif part of #ifdef CONFIG_PM_SLEEP was not moved at the same time. Now fixed by moving it to its proper place.
      Reported-by: NRandy Dunlap <rdunlap@xenotime.net>
      Signed-off-by: NMark Einon <mark.einon@gmail.com>
      Acked-by: NRandy Dunlap <rdunlap@xenotime.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      2e9ff8d9
    • A
      USB: Fix Corruption issue in USB ftdi driver ftdi_sio.c · b1ffb4c8
      Andrew Worsley 提交于
      Fix for ftdi_set_termios() glitching output
      
      ftdi_set_termios() is constantly setting the baud rate, data bits and parity
      unnecessarily on every call, . When called while characters are being
      transmitted can cause the FTDI chip to corrupt the serial port bit stream
      output by stalling the output half a bit during the output of a character.
      Simple fix by skipping this setting if the baud rate/data bits/parity are
      unchanged.
      Signed-off-by: NAndrew Worsley <amworsley@gmail.com>
      Cc: stable <stable@vger.kernel.org>
      ----
      
        I had a brief run with strace on the getty and it was doing ioctl()s on
        each call but it didn't look relavant to the problem. I think the issue is
        that XON/XOFF flow control was being implmented via hardware - for the ixoff
        to allow the user to use XON/XOFF to control output. Unfortunately it would
        send 3 Control URBs updating all of the settings after each piece of input
      
        I am trying to work around the issue of gmail messing with the tab/spacing
        by submitting via SMTP via gmail which I believe should fix the issue.
      
        The patch is against v3.2-rc2 and compiles - but no additional testing in
        this kernel has been done.
      
        Thanks
      
         Andrew
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      b1ffb4c8
    • F
      USB: option: add PID of Huawei E173s 3G modem · 4aa3648c
      Ferenc Wagner 提交于
      Signed-off-by: NFerenc Wagner <wferi@niif.hu>
      Cc: stable <stable@vger.kernel.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      4aa3648c
    • A
      OHCI: final fix for NVIDIA problems (I hope) · c6187597
      Alan Stern 提交于
      Problems with NVIDIA's OHCI host controllers persist.  After looking
      carefully through the spec, I finally realized that when a controller
      is reset it then automatically goes into a SUSPEND state in which it
      is completely quiescent (no DMA and no IRQs) and from which it will
      not awaken until the system puts it into the OPERATIONAL state.
      
      Therefore there's no need to worry about controllers being in the
      RESET state for extended periods, or remaining in the OPERATIONAL
      state during system shutdown.  The proper action for device
      initialization is to put the controller into the RESET state (if it's
      not there already) and then to issue a software reset.  Similarly, the
      proper action for device shutdown is simply to do a software reset.
      
      This patch (as1499) implements such an approach.  It simplifies
      initialization and shutdown, and allows the NVIDIA shutdown-quirk code
      to be removed.
      Signed-off-by: NAlan Stern <stern@rowland.harvard.edu>
      Tested-by: NAndre "Osku" Schmidt <andre.osku.schmidt@googlemail.com>
      Tested-by: NArno Augustin <Arno.Augustin@web.de>
      Cc: stable <stable@vger.kernel.org> [after tested in 3.2 for a while]
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      c6187597
    • Z
      USB: option: release new PID for ZTE 3G modem · 46b5a277
      zheng.zhijian@zte.com.cn 提交于
      This patch adds new PIDs for ZTE 3G modem, after we confirm it and tested.
      Thanks for Dan's work at kernel option devier.
      Signed-off-by: NAlvin.Zheng <zheng.zhijian@zte.com.cn>
      Signed-off-by: Nwsalvin <wsalvin@yahoo.com.cn>
      Cc: stable <stable@vger.kernel.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      46b5a277
    • J
      usb: Netlogic: Fix HC_LENGTH call in ehci-xls.c · e253dec3
      Jayachandran C 提交于
      Fix compile error, HC_LENGTH now takes two parameters and ehci
      needs to be passed as the first parameter.
      Signed-off-by: NJayachandran C <jayachandranc@netlogicmicro.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      e253dec3
    • M
      misc: ad525x_dpot: Fix AD8400 spi transfer size. · 6ac2afb3
      Michael Hennerich 提交于
      AD8400 type devices require 16-bit command transfers.
      Signed-off-by: NMichael Hennerich <michael.hennerich@analog.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      6ac2afb3
    • C
      drivers/base/node.c: fix compilation error with older versions of gcc · 91a13c28
      Claudio Scordino 提交于
      Patch to fix the error message "directives may not be used inside a macro
      argument" which appears when the kernel is compiled for the cris architecture.
      Signed-off-by: NClaudio Scordino <claudio@evidence.eu.com>
      Acked-by: NDavid Rientjes <rientjes@google.com>
      Cc: stable <stable@vger.kernel.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      91a13c28
  7. 18 11月, 2011 10 次提交
  8. 17 11月, 2011 1 次提交