1. 29 3月, 2012 19 次提交
  2. 26 3月, 2012 1 次提交
    • D
      SELinux: selinux/xfrm.h needs net/flow.h · 778aae84
      David Howells 提交于
      selinux/xfrm.h needs to #include net/flow.h or else suffer:
      
      In file included from security/selinux/ss/services.c:69:0:
      security/selinux/include/xfrm.h: In function 'selinux_xfrm_notify_policyload':
      security/selinux/include/xfrm.h:53:14: error: 'flow_cache_genid' undeclared (first use in this function)
      security/selinux/include/xfrm.h:53:14: note: each undeclared identifier is reported only once for each function it appears in
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      778aae84
  3. 23 3月, 2012 20 次提交
    • D
      ARM: Fix missing linux/types.h #inclusion in asm/hardware/iop3xx.h · 15e9b9b9
      David Howells 提交于
      arch/arm/include/asm/hardware/iop3xx.h needs to include linux/types.h to avoid
      the following errors:
      
      In file included from arch/arm/plat-iop/restart.c:10:0:
      /data/fs/linux-2.6-fscache/arch/arm/include/asm/hardware/iop3xx.h:239:1: error: unknown type name 'u32'
      /data/fs/linux-2.6-fscache/arch/arm/include/asm/hardware/iop3xx.h: In function 'read_tmr0':
      /data/fs/linux-2.6-fscache/arch/arm/include/asm/hardware/iop3xx.h:241:2: error: unknown type name 'u32'
      /data/fs/linux-2.6-fscache/arch/arm/include/asm/hardware/iop3xx.h: At top level:
      /data/fs/linux-2.6-fscache/arch/arm/include/asm/hardware/iop3xx.h:246:31: error: unknown type name 'u32'
      ...
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      15e9b9b9
    • L
      Merge tag 'fbdev-updates-for-3.4' of git://github.com/schandinat/linux-2.6 · 43753826
      Linus Torvalds 提交于
      Pull fbdev updates for 3.4 from Florian Tobias Schandinat:
       - drivers for Samsung Exynos MIPI DSI and display port
       - i740fb to support those old Intel chips
       - large updates to OMAP, viafb and sh_mobile_lcdcfb
       - some updates to s3c-fb and udlfb, few patches to others
      
      Fix up conflicts in drivers/video/udlfb.c due to Key Sievers' fix making
      it in twice.
      
      * tag 'fbdev-updates-for-3.4' of git://github.com/schandinat/linux-2.6: (156 commits)
        Revert "video:uvesafb: Fix oops that uvesafb try to execute NX-protected page"
        OMAPDSS: register dss drivers in module init
        video: pxafb: add clk_prepare/clk_unprepare calls
        fbdev: bfin_adv7393fb: Drop needless include
        fbdev: sh_mipi_dsi: add extra phyctrl for sh_mipi_dsi_info
        fbdev: remove dependency of FB_SH_MOBILE_MERAM from FB_SH_MOBILE_LCDC
        Revert "MAINTAINERS: add entry for exynos mipi display drivers"
        fbdev: da8xx: add support for SP10Q010 display
        fbdev: da8xx:: fix reporting of the display timing info
        drivers/video/pvr2fb.c: ensure arguments to request_irq and free_irq are compatible
        OMAPDSS: APPLY: fix clearing shadow dirty flag with manual update
        fbdev: sh_mobile_meram: Implement system suspend/resume
        fbdev: sh_mobile_meram: Remove unneeded sanity checks
        fbdev: sh_mobile_meram: Don't perform update in register operation
        arm: mach-shmobile: Constify sh_mobile_meram_cfg structures
        fbdev: sh_mobile_lcdc: Don't store copy of platform data
        fbdev: sh_mobile_meram: Remove unused sh_mobile_meram_icb_cfg fields
        arm: mach-shmobile: Don't set MERAM ICB numbers in platform data
        fbdev: sh_mobile_meram: Allocate ICBs automatically
        fbdev: sh_mobile_meram: Use genalloc to manage MERAM allocation
        ...
      43753826
    • L
      Merge tag 'regmap-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap · 9586c959
      Linus Torvalds 提交于
      Pull regmap updates from Mark Brown:
       "Things are really quieting down with the regmap API, while we're still
        seeing a trickle of new features coming in they're getting much
        smaller than they were.  It's also nice to have some features which
        support other subsystems building infrastructure on top of regmap.
        Highlights include:
      
        - Support for padding between the register and the value when
          interacting with the device, sometimes needed for fast interfaces.
        - Support for applying register updates to the device when restoring
          the register state.  This is intended to be used to apply updates
          supplied by manufacturers for tuning the performance of the device
          (many of which are to undocumented registers which aren't otherwise
          covered).
        - Support for multi-register operations on cached registers.
        - Support for syncing only part of the register cache.
        - Stubs and parameter query functions intended to make it easier for
          other subsystems to build infrastructure on top of the regmap API.
      
        plus a few driver updates making use of the new features which it was
        easier to merge via this tree."
      
      * tag 'regmap-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap: (41 commits)
        regmap: Fix future missing prototype of devres_alloc() and friends
        regmap: Rejig struct declarations for stubbed API
        regmap: Fix rbtree block base in sync
        regcache: Make sure we sync register 0 in an rbtree cache
        regmap: delete unused module.h from drivers/base/regmap files
        regmap: Add stub for regcache_sync_region()
        mfd: Improve performance of later WM1811 revisions
        regmap: Fix x86_64 breakage
        regmap: Allow drivers to sync only part of the register cache
        regmap: Supply ranges to the sync operations
        regmap: Add tracepoints for cache only and cache bypass
        regmap: Mark the cache as clean after a successful sync
        regmap: Remove default cache sync implementation
        regmap: Skip hardware defaults for LZO caches
        regmap: Expose the driver name in debugfs
        mfd: wm8400: Convert to devm_regmap_init_i2c()
        mfd: wm831x: Convert to devm_regmap_init()
        mfd: wm8994: Convert to devm_regmap_init()
        mfd/ASoC: Convert WM8994 driver to use regmap patches
        mfd: Add __devinit and __devexit annotations in wm8994
        ...
      9586c959
    • L
      Merge tag 'firewire-updates' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394 · 34699403
      Linus Torvalds 提交于
      Pull IEEE 1394 (FireWire) subsystem updates post v3.3 from Stefan Richter:
      
       - Some SBP-2 initiator fixes, side product from ongoing work on a target.
      
       - Reintroduction of an isochronous I/O feature of the older ieee1394 driver
         stack (flush buffer completions); it was evidently rarely used but not
         actually unused.  Matching libraw1394 code is already available.
      
       - Be sure to prefix all kernel log messages with device name or card name,
         and other logging related cleanups.
      
       - Misc other small cleanups, among them a small API change that affects
         sound/firewire/ too. Clemens Ladisch is aware of it.
      
      * tag 'firewire-updates' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394: (26 commits)
        firewire: allow explicit flushing of iso packet completions
        firewire: prevent dropping of completed iso packet header data
        firewire: ohci: factor out iso completion flushing code
        firewire: ohci: simplify iso header pointer arithmetic
        firewire: ohci: optimize control bit checks
        firewire: ohci: remove unused excess_bytes field
        firewire: ohci: copy_iso_headers(): make comment match the code
        firewire: cdev: fix IR multichannel event documentation
        firewire: ohci: fix too-early completion of IR multichannel buffers
        firewire: ohci: move runtime debug facility out of #ifdef
        firewire: tone down some diagnostic log messages
        firewire: sbp2: replace a GFP_ATOMIC allocation
        firewire: sbp2: Fix SCSI sense data mangling
        firewire: sbp2: Ignore SBP-2 targets on the local node
        firewire: sbp2: Take into account Unit_Unique_ID
        firewire: nosy: Use the macro DMA_BIT_MASK().
        firewire: core: convert AR-req handler lock from _irqsave to _bh
        firewire: core: fix race at address_handler unregistration
        firewire: core: remove obsolete comment
        firewire: core: prefix log messages with card name
        ...
      34699403
    • L
      Merge tag 'pinctrl-for-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl · 7fc86a79
      Linus Torvalds 提交于
      Pull pinctrl updates for v3.4 from Linus Walleij (*):
       - Switches the PXA 168, 910 and MMP over to use pinctrl
       - Locking revamped
       - Massive refactorings...
       - Reform the driver API to use multiple states
       - Support pin config in the mapping tables
       - Pinctrl drivers for the nVidia Tegra series
       - Generic pin config support lib for simple pin controllers
       - Implement pin config for the U300
      
      * tag 'pinctrl-for-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl: (48 commits)
        ARM: u300: configure some pins as an example
        pinctrl: support pinconfig on the U300
        pinctrl/coh901: use generic pinconf enums and parameters
        pinctrl: introduce generic pin config
        pinctrl: fix error path in pinconf_map_to_setting()
        pinctrl: allow concurrent gpio and mux function ownership of pins
        pinctrl: forward-declare struct device
        pinctrl: split pincontrol states into its own header
        pinctrl: include machine header to core.h
        ARM: tegra: Select PINCTRL Kconfig variables
        pinctrl: add a driver for NVIDIA Tegra
        pinctrl: Show selected function and group in pinmux-pins debugfs
        pinctrl: enhance mapping table to support pin config operations
        pinctrl: API changes to support multiple states per device
        pinctrl: add usecount to pins for muxing
        pinctrl: refactor struct pinctrl handling in core.c vs pinmux.c
        pinctrl: fix and simplify locking
        pinctrl: fix the pin descriptor kerneldoc
        pinctrl: assume map table entries can't have a NULL name field
        pinctrl: introduce PINCTRL_STATE_DEFAULT, define hogs as that state
        ...
      
      (*) What is it with all these Linuses these days? There's a Linus at
          google too.  Some day I will get myself my own broadsword, and run
          around screaming "There can be only one".
      
          I used to be _special_ dammit. Snif.
      7fc86a79
    • L
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev · 90597b6c
      Linus Torvalds 提交于
      Pull libata updates from Jeff Garzik:
      
       1) AHCI regression fix.  A recent "make driver conform to spec" change
          broke on deployed hardware.  Make new behavior optional, rather than
          default, turning it on only for specific embedded platforms that
          need this.
      
          Everybody else runs in the famous "non conformant but working" mode.
      
       2) pata_cmd64x, pata_legacy cleanups
      
       3) new Intel SATA PCI IDs
      
       4) misc minor vendor feature additions
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev:
        pata_cmd64x: implement sff_irq_check() method
        pata_cmd64x: implement sff_irq_clear() method
        pata_cmd64x: use interrupt status from MRDMODE register
        pata_cmd64x: turn string of *if* statements into *switch*
        drivers/ata/pata_mpc52xx.c: clean up error handling code
        ahci_platform: add STRICT_AHCI platform type
        ahci: move AHCI_HFLAGS() macro to ahci.h
        ahci: add AHCI_HFLAG_DELAY_ENGINE host flag
        sata_fsl: add support for interrupt coalsecing feature
        ata/pata_arasan_cf: Add Hibernation support
        pata_legacy: correctly mask recovery field for HT6560B
        ata_piix: IDE-mode SATA patch for Intel Lynx Point DeviceIDs
        ahci: AHCI-mode SATA patch for Intel Lynx Point DeviceIDs
      90597b6c
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input · 7bfe0e66
      Linus Torvalds 提交于
      Pull input subsystem updates from Dmitry Torokhov:
       "- we finally merged driver for USB version of Synaptics touchpads
          (I guess most commonly found in IBM/Lenovo keyboard/touchpad combo);
      
         - a bunch of new drivers for embedded platforms (Cypress
           touchscreens, DA9052 OnKey, MAX8997-haptic, Ilitek ILI210x
           touchscreens, TI touchscreen);
      
         - input core allows clients to specify desired clock source for
           timestamps on input events (EVIOCSCLOCKID ioctl);
      
         - input core allows querying state of all MT slots for given event
           code via EVIOCGMTSLOTS ioctl;
      
         - various driver fixes and improvements."
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (45 commits)
        Input: ili210x - add support for Ilitek ILI210x based touchscreens
        Input: altera_ps2 - use of_match_ptr()
        Input: synaptics_usb - switch to module_usb_driver()
        Input: convert I2C drivers to use module_i2c_driver()
        Input: convert SPI drivers to use module_spi_driver()
        Input: omap4-keypad - move platform_data to <linux/platform_data>
        Input: kxtj9 - who_am_i check value and initial data rate fixes
        Input: add driver support for MAX8997-haptic
        Input: tegra-kbc - revise device tree support
        Input: of_keymap - add device tree bindings for simple key matrices
        Input: wacom - fix physical size calculation for 3rd-gen Bamboo
        Input: twl4030-vibra - really switch from #if to #ifdef
        Input: hp680_ts_input - ensure arguments to request_irq and free_irq are compatible
        Input: max8925_onkey - avoid accessing input device too early
        Input: max8925_onkey - allow to be used as a wakeup source
        Input: atmel-wm97xx - convert to dev_pm_ops
        Input: atmel-wm97xx - set driver owner
        Input: add cyttsp touchscreen maintainer entry
        Input: cyttsp - remove useless checks in cyttsp_probe()
        Input: usbtouchscreen - add support for Data Modul EasyTouch TP 72037
        ...
      7bfe0e66
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 · 6a76a699
      Linus Torvalds 提交于
      Pull crypto fixes from Herbert Xu:
       "This fixes a build problem where two crypto modules both try to export
        the same symbols (which shouldn't have been exported in the first
        place)."
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
        crypto: twofish-x86_64-3way - module init/exit functions should be static
        crypto: camellia-x86_64 - module init/exit functions should be static
      6a76a699
    • L
      Merge tag 'stable/for-linus-3.4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen · d4c6fa73
      Linus Torvalds 提交于
      Pull xen updates from Konrad Rzeszutek Wilk:
       "which has three neat features:
      
         - PV multiconsole support, so that there can be hvc1, hvc2, etc; This
           can be used in HVM and in PV mode.
      
         - P-state and C-state power management driver that uploads said power
           management data to the hypervisor.  It also inhibits cpufreq
           scaling drivers to load so that only the hypervisor can make power
           management decisions - fixing a weird perf bug.
      
           There is one thing in the Kconfig that you won't like: "default y
           if (X86_ACPI_CPUFREQ = y || X86_POWERNOW_K8 = y)" (note, that it
           all depends on CONFIG_XEN which depends on CONFIG_PARAVIRT which by
           default is off).  I've a fix to convert that boolean expression
           into "default m" which I am going to post after the cpufreq git
           pull - as the two patches to make this work depend on a fix in Dave
           Jones's tree.
      
         - Function Level Reset (FLR) support in the Xen PCI backend.
      
        Fixes:
      
         - Kconfig dependencies for Xen PV keyboard and video
         - Compile warnings and constify fixes
         - Change over to use percpu_xxx instead of this_cpu_xxx"
      
      Fix up trivial conflicts in drivers/tty/hvc/hvc_xen.c due to changes to
      a removed commit.
      
      * tag 'stable/for-linus-3.4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen:
        xen kconfig: relax INPUT_XEN_KBDDEV_FRONTEND deps
        xen/acpi-processor: C and P-state driver that uploads said data to hypervisor.
        xen: constify all instances of "struct attribute_group"
        xen/xenbus: ignore console/0
        hvc_xen: introduce HVC_XEN_FRONTEND
        hvc_xen: implement multiconsole support
        hvc_xen: support PV on HVM consoles
        xenbus: don't free other end details too early
        xen/enlighten: Expose MWAIT and MWAIT_LEAF if hypervisor OKs it.
        xen/setup/pm/acpi: Remove the call to boot_option_idle_override.
        xenbus: address compiler warnings
        xen: use this_cpu_xxx replace percpu_xxx funcs
        xen/pciback: Support pci_reset_function, aka FLR or D3 support.
        pci: Introduce __pci_reset_function_locked to be used when holding device_lock.
        xen: Utilize the restore_msi_irqs hook.
      d4c6fa73
    • L
      Merge tag 'stable/for-linus-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/mm · aab008db
      Linus Torvalds 提交于
      Pull cleancache changes from Konrad Rzeszutek Wilk:
       "This has some patches for the cleancache API that should have been
        submitted a _long_ time ago.  They are basically cleanups:
      
         - rename of flush to invalidate
      
         - moving reporting of statistics into debugfs
      
         - use __read_mostly as necessary.
      
        Oh, and also the MAINTAINERS file change.  The files (except the
        MAINTAINERS file) have been in #linux-next for months now.  The late
        addition of MAINTAINERS file is a brain-fart on my side - didn't
        realize I needed that just until I was typing this up - and I based
        that patch on v3.3 - so the tree is on top of v3.3."
      
      * tag 'stable/for-linus-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/mm:
        MAINTAINERS: Adding cleancache API to the list.
        mm: cleancache: Use __read_mostly as appropiate.
        mm: cleancache: report statistics via debugfs instead of sysfs.
        mm: zcache/tmem/cleancache: s/flush/invalidate/
        mm: cleancache: s/flush/invalidate/
      aab008db
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lliubbo/blackfin · 4f5b1aff
      Linus Torvalds 提交于
      Pull blackfin updates from Bob Liu
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lliubbo/blackfin: (24 commits)
        blackfin: clean up string bfin_dma_5xx after rename.
        blackfin:dma: rename bfin_dma_5xx.c to bfin_dma.c
        bf548: ssm2602: Add ssm2602 platform data into bf548 ezkit board file.
        Blackfin: s/#if CONFIG/#ifdef CONFIG/
        Blackfin: pnav: delete duplicate linux/export.h include
        bf561: add ppi DLEN macro for 10bits to 16bits
        arch: blackfin: udpate defconfig
        Disintegrate asm/system.h for Blackfin [ver #2]
        arch/blackfin: don't generate random mac in bfin_get_ether_addr()
        Blackfin: wire up new process_vm syscalls
        blackfin: cleanup anomaly workarounds
        blackfin: update default defconfig
        blackfin: thread_info: add suspend flag
        bfin: add bfin_ad73311_machine platform device
        blackfin: bf537: stamp: update board file for 193x
        blackfin: kgdb: skip hardware watchpoint test
        bf548: add ppi interrupt mask and blanking clocks
        blackfin: bf561: forgot CSYNC in get_core_lock_noflush
        spi/bfin_spi: drop bits_per_word from client data
        blackfin: cplb-mpu: fix page mask table overflow
        ...
      4f5b1aff
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux · db141796
      Linus Torvalds 提交于
      Pull s390 patches from Martin Schwidefsky:
       "The biggest patch is the rework of the smp code, something I wanted to
        do for some time.  There are some patches for our various dump methods
        and one new thing: z/VM LGR detection.  LGR stands for linux-guest-
        relocation and is the guest migration feature of z/VM.  For debugging
        purposes we keep a log of the systems where a specific guest has lived."
      
      Fix up trivial conflict in arch/s390/kernel/smp.c due to the scheduler
      cleanup having removed some code next to removed s390 code.
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux:
        [S390] kernel: Pass correct stack for smp_call_ipl_cpu()
        [S390] Ensure that vmcore_info pointer is never accessed directly
        [S390] dasd: prevent validate server for offline devices
        [S390] Remove monolithic build option for zcrypt driver.
        [S390] stack dump: fix indentation in output
        [S390] kernel: Add OS info memory interface
        [S390] Use block_sigmask()
        [S390] kernel: Add z/VM LGR detection
        [S390] irq: external interrupt code passing
        [S390] irq: set __ARCH_IRQ_EXIT_IRQS_DISABLED
        [S390] zfcpdump: Implement async sdias event processing
        [S390] Use copy_to_absolute_zero() instead of "stura/sturg"
        [S390] rework idle code
        [S390] rework smp code
        [S390] rename lowcore field
        [S390] Fix gcc 4.6.0 compile warning
      db141796
    • L
      security: optimize avc_audit() common path · 48aab2f7
      Linus Torvalds 提交于
      avc_audit() did a lot of jumping around and had a big stack frame, all
      for the uncommon case.
      
      Split up the uncommon case (which we really can't make go fast anyway)
      into its own slow function, and mark the conditional branches
      appropriately for the common likely case.
      
      This causes avc_audit() to no longer show up as one of the hottest
      functions on the branch profiles (the new "perf -b" thing), and makes
      the cycle profiles look really nice and dense too.
      
      The whole audit path is still annoyingly very much one of the biggest
      costs of name lookup, so these things are worth optimizing for.  I wish
      we could just tell people to turn it off, but realistically we do need
      it: we just need to make sure that the overhead of the necessary evil is
      as low as possible.
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      48aab2f7
    • L
      vfs: tidy up sparse warnings in fs/namei.c · f7493e5d
      Linus Torvalds 提交于
      While doing the fs/namei.c cleanups, I ran sparse on it, and it pointed
      out other large integers and a couple of cases of us using '0' instead
      of the proper 'NULL'.
      
      Sparse still doesn't understand some of the conditional locking going
      on, but that's no excuse for not fixing up the trivial stuff.
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      f7493e5d
    • L
      vfs: tidy up fs/namei.c byte-repeat word constants · 989412bb
      Linus Torvalds 提交于
      In commit commit 1de5b41c ("fs/namei.c: fix warnings on 32-bit")
      Andrew said that there must be a tidier way of doing this.
      
      This is that tidier way.
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      989412bb
    • R
      fs: fix kernel-doc warnings in dcache.c · 1f1e6e52
      Randy Dunlap 提交于
      Fix kernel-doc warnings in fs/dcache.c:
      
        Warning(fs/dcache.c:1743): No description found for parameter 'seqp'
        Warning(fs/dcache.c:1743): Excess function parameter 'seq' description in '__d_lookup_rcu'
      Signed-off-by: NRandy Dunlap <rdunlap@xenotime.net>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      1f1e6e52
    • A
      Fix full_name_hash() behaviour when length is a multiple of 8 · f132c5be
      Al Viro 提交于
      We want it to match what hash_name() is doing, which means extra
      multiply by 9 in this case...
      Reported-and-Tested-by: NKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      f132c5be
    • L
      Merge branch 'drm-nouveau-destage' of git://people.freedesktop.org/~airlied/linux · ba331d5d
      Linus Torvalds 提交于
      Pull nouveau destaging + Kelper modesetting support from Dave Airlie:
       "This pull request is unexpected and not something I had mentioned
        previously.
      
        So NVIDIA announced new Kepler GPUs this morning, and Ben has killed
        himself getting modesetting support for them together to have on
        launch day.  Most of the code to support the new chips has already
        gone in, however this pull contains a few more pieces along with the
        final enables so the driver binds to the new Kepler cards.  Its quite
        amazing that nouveau can support a GPU on its launch day even if its
        just unaccelerated modesetting, and I'd like to have support in the
        next kernel.
      
        In order to sweeten the deal, Ben has also requested nouveau destage
        and become ABI stable, the only change is the version number bump
        which he prepared userspace for quite a long time ago.  The driver
        hasn't broken ABI since that one big break that caused a lot of fuss.
      
        It's also quite a small set of code, and not likely to break anything."
      
      * 'drm-nouveau-destage' of git://people.freedesktop.org/~airlied/linux:
        drm/nouveau/dp: support version 4.0 of DP table
        drm/nve0/disp: nvidia randomly decided to move the dithering method
        drm/nve0: initial modesetting support for kepler chipsets
        drm/nouveau: add bios connector type for dms59
        drm/nouveau: move out of staging drivers
        drm/nouveau: bump version to 1.0.0
        drm/nvd0/disp: ignore clock set if no pclk
        drm/nouveau: oops, increase channel dispc_vma to 4
        drm/nouveau: inform userspace of new kernel subchannel requirements
        drm/nouveau: remove m2mf creation on userspace channels
        drm/nvc0-/disp: reimplement flip completion method as fifo method
        drm/nouveau: move fence sequence check to start of loop
        drm/nouveau: remove subchannel names from places where it doesn't matter
        drm/nouveau/ttm: always do buffer moves on kernel channel
      ba331d5d
    • L
      Merge branch 'drm-radeon-sitn-support' of git://people.freedesktop.org/~airlied/linux · 09fa3022
      Linus Torvalds 提交于
      Pull radeon southern islands / trinity support from Dave Airlie:
       "This is support from AMD for their newest GPU and APUs.  The products
        called RadeonHD 7xxx, and the Trinity APU series.
      
        This did come in a bit late, due to some over-complicated AMD internal
        review process, which from the outside seems unnecessary once the
        company has decided it wants to support open source.  However as I
        said previously I'd rather not put the people who've got this hw for 3
        months now being forced to use fglrx on it if there is open code.
      
        Its pretty well self contained and just plugs into the driver in
        various places."
      
      * 'drm-radeon-sitn-support' of git://people.freedesktop.org/~airlied/linux: (48 commits)
        drm/radeon/kms: update duallink checks for DCE6
        drm/radeon/kms: add trinity pci ids
        drm/radeon/kms: add radeon_asic struct for trinity
        drm/radeon/kms: add support for ucode loading on trinity (v2)
        drm/radeon/kms/vm: set vram base offset properly for TN
        drm/radeon/kms: Update evergreen functions for trinity
        drm/radeon/kms: cayman gpu init updates for trinity
        drm/radeon/kms: Add checks for TN in the DP bridge code
        drm/radeon/kms/DCE6.1: ss is not supported on the internal pplls
        drm/radeon/kms: disable PPLL0 on DCE6.1 when not in use
        drm/radeon/kms: Adjust pll picker for DCE6.1
        drm/radeon/kms: DCE6.1 disp eng pll updates
        drm/radeon/kms: DCE6.1 watermark updates for TN
        drm/radeon/kms: no support for internal thermal sensor on TN yet
        drm/radeon/kms: add trinity (TN) chip family
        drm/radeon/kms: Add SI pci ids
        drm/radeon: Update radeon_info_ioctl for SI. (v2)
        drm/radeon/kms: add radeon_asic struct for SI
        drm/radeon/kms: add support for compute rings in CS ioctl on SI
        drm/radeon/kms: fill in startup/shutdown callbacks for SI
        ...
      09fa3022
    • L
      Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux · be53bfdb
      Linus Torvalds 提交于
      Pull drm main changes from Dave Airlie:
       "This is the main drm pull request, I'm probably going to send two more
        smaller ones, will explain below.
      
        This contains a patch that is also in the fbdev tree, but it should be
        the same patch, it added an API for hot unplugging framebuffer
        devices, and I need that API for a new driver.
      
        It also contains some changes to the i2c tree which Jean has acked,
        and one change to moorestown platform stuff in x86.
      
        Highlights:
         - new drivers: UDL driver for USB displaylink devices, kms only,
           should support correct hotplug operations.
         - core: i2c speedups + better hotplug support, EDID overriding via
           firmware interface - allows user to load a firmware for a broken
           monitor/kvm from userspace, it even has documentation for it.
         - exynos: new HDMI audio + hdmi 1.4 + virtual output driver
         - gma500: code cleanup
         - radeon: cleanups, CS optimisations, streamout support and pageflip
           fix
         - nouveau: NVD9 displayport support + more reclocking work
         - i915: re-enabling GMBUS, finish gpu patch (might help hibernation
           who knows), missed irq fixes, stencil tiling fixes, interlaced
           support, aliasesd PPGTT support for SNB/IVB, swizzling for SNB/IVB,
           semaphore fixes
      
        As well as the usual bunch of cleanups and fixes all over the place.
      
        I've got two things I'd like to merge a bit later:
      
         a) AMD support for all their new radeonhd 7000 series GPU and APUs.
            AMD dropped this a bit late due to insane internal review
            processes, (please AMD just follow Intel and let open source guys
            ship stuff early) however I don't want to penalise people who own
            this hardware (since its been on sale for 3-4 months and GPU hw
            doesn't exactly have a lifetime in years) and consign them to
            using closed drivers for longer than necessary.  The changes are
            well contained and just plug into the driver new gpu functionality
            so they should be fairly regression proof.  I just want to give
            them a bit of a run on the hw AMD kindly sent me.
      
         b) drm prime/dma-buf interface code.  This is just infrastructure
            code to expose the dma-buf stuff to drm drivers and to userspace.
            I'm not planning on pushing any driver support in this cycle
            (except maybe exynos), but I'd like to get the infrastructure code
            in so for the next cycle I can start getting the driver support
            into the individual drivers.  We have started driver support for
            i915, nouveau and udl along with I think exynos and omap in
            staging.  However this code relies on the dma-buf tree being
            pulled into your tree first since it needs the latest interfaces
            from that tree.  I'll push to get that tree sent asap.
      
        (oh and any warnings you see in i915 are gcc's fault from what anyone
        can see)."
      
      Fix up trivial conflicts in arch/x86/platform/mrst/mrst.c due to the new
      msic_thermal_platform_data() thermal function being added next to the
      tc35876x_platform_data() i2c device function..
      
      * 'drm-next' of git://people.freedesktop.org/~airlied/linux: (326 commits)
        drm/i915: use DDC_ADDR instead of hard-coding it
        drm/radeon: use DDC_ADDR instead of hard-coding it
        drm: remove unneeded redefinition of DDC_ADDR
        drm/exynos: added virtual display driver.
        drm: allow loading an EDID as firmware to override broken monitor
        drm/exynos: enable hdmi audio feature
        drm/exynos: add default pixel format for plane
        drm/exynos: cleanup exynos_hdmi.h
        drm/exynos: add is_local member in exynos_drm_subdrv struct
        drm/exynos: add subdrv open/close functions
        drm/exynos: remove module of exynos drm subdrv
        drm/exynos: release pending pageflip events when closed
        drm/exynos: added new funtion to get/put dma address.
        drm/exynos: update gem and buffer framework.
        drm/exynos: added mode_fixup feature and code clean.
        drm/exynos: add HDMI version 1.4 support
        drm/exynos: remove exynos_mixer.h
        gma500: Fix mmap frambuffer
        drm/radeon: Drop radeon_gem_object_(un)pin.
        drm/radeon: Restrict offset for legacy display engine.
        ...
      be53bfdb