1. 03 8月, 2014 21 次提交
  2. 02 8月, 2014 4 次提交
  3. 30 7月, 2014 1 次提交
  4. 24 7月, 2014 2 次提交
  5. 23 7月, 2014 2 次提交
  6. 22 7月, 2014 10 次提交
    • C
      drm/i915: fix build without fbdev. · 7296c849
      Chris Wilson 提交于
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      7296c849
    • D
      drm/ttm: make device_released static · 4133d018
      Dave Airlie 提交于
      fixes sparse warning, and removes potentially dangerous name from namespace.
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      4133d018
    • D
      drm/ttm: use gfp_t instead of int for flags. · 3b9c214a
      Dave Airlie 提交于
      fixes sparse warning.
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      3b9c214a
    • R
      drm: omapdrm: fix compiler errors · 2d31ca3a
      Russell King 提交于
      Regular randconfig nightly testing has detected problems with omapdrm.
      
      omapdrm fails to build when the kernel is built to support 64-bit DMA
      addresses and/or 64-bit physical addresses due to an assumption about
      the width of these types.
      
      Use %pad to print DMA addresses, rather than %x or %Zx (which is even
      more wrong than %x).  Avoid passing a uint32_t pointer into a function
      which expects dma_addr_t pointer.
      
      drivers/gpu/drm/omapdrm/omap_plane.c: In function 'omap_plane_pre_apply':
      drivers/gpu/drm/omapdrm/omap_plane.c:145:2: error: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'dma_addr_t' [-Werror=format]
      drivers/gpu/drm/omapdrm/omap_plane.c:145:2: error: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'dma_addr_t' [-Werror=format]
      make[5]: *** [drivers/gpu/drm/omapdrm/omap_plane.o] Error 1
      drivers/gpu/drm/omapdrm/omap_gem.c: In function 'omap_gem_get_paddr':
      drivers/gpu/drm/omapdrm/omap_gem.c:794:4: error: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'dma_addr_t' [-Werror=format]
      drivers/gpu/drm/omapdrm/omap_gem.c: In function 'omap_gem_describe':
      drivers/gpu/drm/omapdrm/omap_gem.c:991:4: error: format '%Zx' expects argument of type 'size_t', but argument 7 has type 'dma_addr_t' [-Werror=format]
      drivers/gpu/drm/omapdrm/omap_gem.c: In function 'omap_gem_init':
      drivers/gpu/drm/omapdrm/omap_gem.c:1470:4: error: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'dma_addr_t' [-Werror=format]
      make[5]: *** [drivers/gpu/drm/omapdrm/omap_gem.o] Error 1
      drivers/gpu/drm/omapdrm/omap_dmm_tiler.c: In function 'dmm_txn_append':
      drivers/gpu/drm/omapdrm/omap_dmm_tiler.c:226:2: error: passing argument 3 of 'alloc_dma' from incompatible pointer type [-Werror]
      make[5]: *** [drivers/gpu/drm/omapdrm/omap_dmm_tiler.o] Error 1
      make[5]: Target `__build' not remade because of errors.
      make[4]: *** [drivers/gpu/drm/omapdrm] Error 2
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      2d31ca3a
    • R
      drm: bochs: fix warnings · 150cee9c
      Russell King 提交于
      Regular nightly randconfig build testing discovered these warnings:
      
      drivers/gpu/drm/bochs/bochs_drv.c:100:12: warning: 'bochs_pm_suspend' defined but not used [-Wunused-function]
      drivers/gpu/drm/bochs/bochs_drv.c:117:12: warning: 'bochs_pm_resume' defined but not used [-Wunused-function]
      
      Fix these by adding the same condition that SET_SYSTEM_SLEEP_PM_OPS()
      uses.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      150cee9c
    • R
      drm: cirrus: fix warnings · 8f8e7e14
      Russell King 提交于
      Regular nightly randconfig build testing discovered these warnings:
      
      drivers/gpu/drm/cirrus/cirrus_drv.c:79:12: warning: 'cirrus_pm_suspend' defined but not used [-Wunused-function]
      drivers/gpu/drm/cirrus/cirrus_drv.c:96:12: warning: 'cirrus_pm_resume' defined but not used [-Wunused-function]
      
      Fix these by adding the same condition that SET_SYSTEM_SLEEP_PM_OPS()
      uses.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      8f8e7e14
    • R
      drm: shmobile: fix warnings · 681ff260
      Russell King 提交于
      drivers/gpu/drm/shmobile/shmob_drm_drv.c:300:5: warning: "CONFIG_PM_SLEEP" is not defined [-Wundef]
      
      Always use #ifdef with CONFIG symbols, never just bare #if
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      681ff260
    • R
      drm: rcar-du: fix warnings · 396d7a24
      Russell King 提交于
      drivers/gpu/drm/rcar-du/rcar_du_drv.c:190:5: warning: "CONFIG_PM_SLEEP" is not defined [-Wundef]
      
      Always use #ifdef with CONFIG symbols, never just bare #if
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      396d7a24
    • J
      drm/i2c: tda998x: Remove useless test · 89fc8686
      Jean-Francois Moine 提交于
      In tda998x_encoder_destroy(), priv->cec is never NULL, so,
      remove its test.
      Signed-off-by: NJean-Francois Moine <moinejf@free.fr>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      89fc8686
    • D
      Merge branch 'drm-i915-mst-support-next' of... · ffae7f0a
      Dave Airlie 提交于
      Merge branch 'drm-i915-mst-support-next' of git://people.freedesktop.org/~airlied/linux into drm-next
      
      Evil super powers maintainer abuse, get i915 mst support into -next.
      
      * 'drm-i915-mst-support-next' of git://people.freedesktop.org/~airlied/linux:
        drm/i915: mst topology dumper in debugfs (v0.2)
        drm/i915: add DP 1.2 MST support (v0.7)
        drm/i915: split conversion function out into separate function
        drm/i915: check connector->encoder before using it.
        i915: split some DP modesetting code into a separate function
        drm/i915: add some registers need for displayport MST support.
      ffae7f0a