1. 17 1月, 2014 11 次提交
  2. 14 1月, 2014 20 次提交
  3. 13 1月, 2014 4 次提交
    • M
      drm/cirrus: Fix cirrus drm driver for fbdev + qemu · 99d4a8ae
      Martin Koegler 提交于
      Xorg fbdev driver requires smem_start/smem_len, otherwise
      it tries to map 0 bytes as video memory.
      
      Bugzilla: https://bugzilla.novell.com/show_bug.cgi?id=856760Signed-off-by: NMartin Koegler <martin.koegler@chello.at>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      99d4a8ae
    • D
      Merge branch 'exynos-drm-next' of... · ca2a2bb1
      Dave Airlie 提交于
      Merge branch 'exynos-drm-next' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into drm-next
      
      This pull request adds an anon file for exynos specific mmaper
      to resolve potential a dead lock issue pointed out by Al Viro,
      and fixes build break of drm-next.
      
      * 'exynos-drm-next' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos:
        drm/exynos: fix build error caused by removed drm core macros
        drm/exynos: use a new anon file for exynos gem mmaper
      ca2a2bb1
    • D
      Merge branch 'drm-next-3.14-wip' of git://people.freedesktop.org/~agd5f/linux into drm-next · e95d9f95
      Dave Airlie 提交于
      This is the drm-next pull for radeon for 3.14. Highlights include:
      - dpm rework which fixes some issues and allows us to enable dpm by
      default on CIK parts
      - enable clockgating on CIK parts
      - pci config reset.  This is a bus-level chip reset that can be more
      reliable than soft reset in certain cases.  Disabled by default.  Enable
      with the hard_reset module option.
      - big endian rptr/wrptr update fixes
      - lots of debugfs improvements
      - some driver cleanup patches from Rashika Kheria
      - bug fixes
      
      * 'drm-next-3.14-wip' of git://people.freedesktop.org/~agd5f/linux: (50 commits)
        drm/radeon: implement pci config reset for CIK (v3)
        drm/radeon: implement pci config reset for SI (v2)
        drm/radeon: implement pci config reset for evergreen/cayman (v2)
        drm/radeon: implement pci config reset for r6xx/7xx (v3)
        drm/radeon: add pci config hard reset
        drm/radeon: add hard_reset module parameter
        drm/radeon: skip colorbuffer checking if COLOR_INFO.FORMAT is set to INVALID
        radeon/pm: Guard access to rdev->pm.power_state array
        drivers: gpu: Move prototype declarations to header file radeon_mode.h from radeon_atombios.c and radeon_combios.c
        drivers: gpu: Move prototype declaration to header file radeon_mode.h
        drm/radeon: move com/atombios scratch reg functions to radeon_mode.h
        drm/radeon/dpm: make some functions static for TN
        drm/radeon/dpm: make some functions static for sumo
        drm/radeon/dpm: make some functions static for CI
        drivers: gpu: Include appropriate header file in ci_smc.c
        drivers: gpu: Move prototype declaration to header file radeon_mode.h from atombios_i2c.c
        drivers: gpu: Include appropriate header file in si_smc.c and remove prototype declaration from header file sislands_smc.h
        drivers: gpu: Add static keyword to the definition of KMS_INVALID_IOCTL in radeon_kms.c
        drivers: gpu: Mark function as static in r600_hdmi.c
        drivers: gpu: Mark function as static in radeon_gem.c
        ...
      e95d9f95
    • D
      Merge branch 'msm-next' of git://people.freedesktop.org/~robclark/linux into drm-next · feb5cde6
      Dave Airlie 提交于
      MSM tree from Rob.
      
      * 'msm-next' of git://people.freedesktop.org/~robclark/linux:
        drm/msm: add a330/apq8x74
        drm/msm: add mdp5/apq8x74
        drm/msm: add hdmi support for apq8x74/mdp5
        drm/msm: move irq utils to mdp_kms
        drm/msm: split out msm_kms.h
        drm/msm: mdp4_format -> mdp_format
        drm/msm: resync generated headers
        drm/msm: move mdp4 -> mdp/mdp4
        drm/msm: add support for msm8060ab/bstem
        drm/msm: add support for non-IOMMU systems
        drm/msm: fix bus scaling
        drm/msm: add missing MODULE_FIRMWARE()s
        drm/msm: COMPILE_TEST support
      feb5cde6
  4. 10 1月, 2014 5 次提交
    • R
      drm/msm: add a330/apq8x74 · 55459968
      Rob Clark 提交于
      Add support for adreno 330.  Not too much different, just a few
      differences in initial configuration plus setting OCMEM base.
      Userspace support is already in upstream mesa.
      
      Note that the existing DT code is simply using the bindings from
      downstream android kernel, to simplify porting of this driver to
      existing devices.  These do not constitute any committed/stable
      DT ABI.  The addition of proper DT bindings will be a subsequent
      patch, at which point (as best as possible) I will try to support
      either upstream bindings or what is found in downstream android
      kernel, so that existing device DT files can be used.
      Signed-off-by: NRob Clark <robdclark@gmail.com>
      55459968
    • R
      drm/msm: add mdp5/apq8x74 · 06c0dd96
      Rob Clark 提交于
      Add support for the new MDP5 display controller block.  The mapping
      between parts of the display controller and KMS is:
      
        plane   -> PIPE{RGBn,VIGn}             \
        crtc    -> LM (layer mixer)            |-> MDP "device"
        encoder -> INTF                        /
        connector -> HDMI/DSI/eDP/etc          --> other device(s)
      
      Unlike MDP4, it appears we can get by with a single encoder, rather
      than needing a different implementation for DTV, DSI, etc.  (Ie. the
      register interface is same, just different bases.)
      
      Also unlike MDP4, all the IRQs for other blocks (HDMI, DSI, etc) are
      routed through MDP.
      
      And finally, MDP5 has this "Shared Memory Pool" (called "SMP"), from
      which blocks need to be allocated to the active pipes based on fetch
      stride.
      Signed-off-by: NRob Clark <robdclark@gmail.com>
      06c0dd96
    • R
      drm/msm: add hdmi support for apq8x74/mdp5 · dada25bd
      Rob Clark 提交于
      The HDMI block is basically the same between older SoC's with mdp4
      display controller, and newer ones with mdp5.
      
      So mostly this consists of better abstracting out the different sets of
      regulators, clks, etc.  In particular, for regulators and clks we can
      split it up by what is needed for hot plug detect to work, and what is
      needed to light up the display.
      
      Also, 8x74 has a new phy.. a very simple one, but split out into a
      different mmio space.  And with mdp5, the irq is shared with mdp, so we
      don't directly register our own irq handler.
      Signed-off-by: NRob Clark <robdclark@gmail.com>
      dada25bd
    • R
      drm/msm: move irq utils to mdp_kms · 9e0efa63
      Rob Clark 提交于
      We'll want basically the same thing for mdp5, so refactor it out so it
      can be shared.
      Signed-off-by: NRob Clark <robdclark@gmail.com>
      9e0efa63
    • R
      drm/msm: split out msm_kms.h · dd2da6e3
      Rob Clark 提交于
      Signed-off-by: NRob Clark <robdclark@gmail.com>
      dd2da6e3