1. 08 Jan, 2014 3 commits
    • Rashika Kheria's avatar
      drivers: gpu: Mark functions as static in vmwgfx_buffer.c · 8227622f
      Rashika Kheria authored
      Mark functions as static because they are not used outside the file
      drm/vmwgfx/vmwgfx_buffer.c.
      
      This eliminates the following warnings in drm/vmwgfx/vmwgfx_buffer.c:
      drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c:520:16: warning: no previous prototype for ‘vmw_ttm_tt_create’ [-Wmissing-prototypes]
      drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c:549:5: warning: no previous prototype for ‘vmw_invalidate_caches’ [-Wmissing-prototypes]
      drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c:554:5: warning: no previous prototype for ‘vmw_init_mem_type’ [-Wmissing-prototypes]
      drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c:592:6: warning: no previous prototype for ‘vmw_evict_flags’ [-Wmissing-prototypes]
      Signed-off-by: default avatarRashika Kheria <rashika.kheria@gmail.com>
      Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
      Reviewed-by: default avatarJakob Bornecrantz <jakob@vmware.com>
      8227622f
    • Rashika Kheria's avatar
      drivers: gpu: Mark functions as static in vmwgfx_kms.c · 847c5964
      Rashika Kheria authored
      Mark functions as static because they are not used outside the file
      drm/vmwgfx/vmwgfx_kms.c.
      
      This eliminates the following warnings in drm/vmwgfx/vmwgfx_kms.c:
      drivers/gpu/drm/vmwgfx/vmwgfx_kms.c:43:6: warning: no previous prototype for ‘vmw_clip_cliprects’ [-Wmissing-prototypes]
      drivers/gpu/drm/vmwgfx/vmwgfx_kms.c:426:6: warning: no previous prototype for ‘vmw_framebuffer_surface_destroy’ [-Wmissing-prototypes]
      drivers/gpu/drm/vmwgfx/vmwgfx_kms.c:592:5: warning: no previous prototype for ‘vmw_framebuffer_surface_dirty’ [-Wmissing-prototypes]
      drivers/gpu/drm/vmwgfx/vmwgfx_kms.c:757:6: warning: no previous prototype for ‘vmw_framebuffer_dmabuf_destroy’ [-Wmissing-prototypes]
      drivers/gpu/drm/vmwgfx/vmwgfx_kms.c:943:5: warning: no previous prototype for ‘vmw_framebuffer_dmabuf_dirty’ [-Wmissing-prototypes]
      drivers/gpu/drm/vmwgfx/vmwgfx_kms.c:1666:5: warning: no previous prototype for ‘vmw_du_update_layout’ [-Wmissing-prototypes]
      Signed-off-by: default avatarRashika Kheria <rashika.kheria@gmail.com>
      Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
      Reviewed-by: default avatarJakob Bornecrantz <jakob@vmware.com>
      847c5964
    • Thomas Hellstrom's avatar
      drm/ttm: ttm object security fixes for render nodes · 05efb1ab
      Thomas Hellstrom authored
      When a client looks up a ttm object, don't look it up through the device hash
      table, but rather from the file hash table. That makes sure that the client
      has indeed put a reference on the object, or in gem terms, has opened
      the object; either using prime or using the global "name".
      
      To avoid a performance loss, make sure the file hash table entries can be
      looked up from under an RCU lock, and as a consequence, replace the rwlock
      with a spinlock, since we never need to take it in read mode only anymore.
      
      Finally add a ttm object lookup function for the device hash table, that is
      intended to be used when we put a ref object on a base object or, in  gem terms,
      when we open the object.
      Signed-off-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
      Reviewed-by: default avatarBrian Paul <brianp@vmware.com>
      05efb1ab
  2. 23 Dec, 2013 3 commits
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-2013-12-13' of... · 859ae233
      Dave Airlie authored
      Merge tag 'drm-intel-next-2013-12-13' of git://people.freedesktop.org/~danvet/drm-intel into drm-next
      
      - fbc1 improvements from Ville (pre-gm45).
      - vlv forcewake improvements from Deepak S.
      - Some corner-cases fixes from Mika for the context hang stat code.
      - pc8 improvements and prep work for runtime D3 from Paulo, almost ready for
        primetime.
      - gen2 dpll fixes from Ville.
      - DSI improvements from Shobhit Kumar.
      - A few smaller fixes and improvements all over.
      
      [airlied: intel_ddi.c conflict fixed up]
      
      * tag 'drm-intel-next-2013-12-13' of git://people.freedesktop.org/~danvet/drm-intel: (61 commits)
        drm/i915/bdw: Implement ff workarounds
        drm/i915/bdw: Force all Data Cache Data Port access to be Non-Coherent
        drm/i915/bdw: Don't use forcewake needlessly
        drm/i915: Clear out old GT FIFO errors in intel_uncore_early_sanitize()
        drm/i915: dont call irq_put when irq test is on
        drm/i915: Rework the FBC interval/stall stuff a bit
        drm/i915: Enable FBC for all mobile gen2 and gen3 platforms
        drm/i915: FBC_CONTROL2 is gen4 only
        drm/i915: Gen2 FBC1 CFB pitch wants 32B units
        drm/i915: split intel_ddi_pll_mode_set in 2 pieces
        drm/i915: Fix timeout with missed interrupts in __wait_seqno
        drm/i915: touch VGA MSR after we enable the power well
        drm/i915: extract hsw_power_well_post_{enable, disable}
        drm/i915: remove i915_disable_vga_mem declaration
        drm/i915: Parametrize the dphy and other spec specific parameters
        drm/i915: Remove redundant DSI PLL enabling
        drm/i915: Reorganize the DSI enable/disable sequence
        drm/i915: Try harder to get best m, n, p values with minimal error
        drm/i915: Compute dsi_clk from pixel clock
        drm/i915: Use FLISDSI interface for band gap reset
        ...
      
      Conflicts:
      	drivers/gpu/drm/i915/intel_ddi.c
      859ae233
    • Dave Airlie's avatar
      Merge tag 'drm/for-3.14-rc1' of git://anongit.freedesktop.org/tegra/linux into drm-next · 785e15ec
      Dave Airlie authored
      drm/tegra: Changes for v3.14-rc1
      
      This series of changes brings DRM panel support as well as initial code
      to register DSI hosts and peripherals and bind them to DSI drivers. The
      panel and DSI code are both used by the simple panel driver.
      
      The Tegra-specific changes build on top of this work to add support for
      various panels found on Tegra boards. New drivers enable the DSI host
      found on Tegra114 and a special hardware block that calibrates the pads
      used for DSI and CSI. The host1x and the display controller drivers gain
      basic Tegra124 support. To round of the new features, the DRM driver now
      sports a very simple PRIME implementation.
      
      In addition there are various improvements such as the host1x API being
      exported so that client drivers (like the Tegra DRM driver) can be built
      as modules. HDMI now does better power management and legacy FBDEV can
      now be disabled via Kconfig (though it's still enabled by default). A
      few sparse warnings have been squashed and various parts of the code
      have become more robust.
      
      * tag 'drm/for-3.14-rc1' of git://anongit.freedesktop.org/tegra/linux: (121 commits)
        drm/tegra: fix compile w/ CONFIG_DYNAMIC_DEBUG
        drm/tegra: Add PRIME support
        drm/tegra: Relocate some output-specific code
        drm/tegra: Add Tegra124 DC support
        drm/tegra: Fix small leak on error in tegra_fb_alloc()
        drm/tegra: Make legacy fbdev support optional
        drm/tegra: Sort reverse-dependencies alphabetically
        drm/tegra: Fix return value check
        drm/tegra: Add DSI support
        drm/tegra: Disable outputs for power-saving
        drm/tegra: Track HDMI enable state
        drm/tegra: Fix HDMI audio frequency typo
        drm/tegra: Do not export tegra_bo_ops
        drm/tegra: Remove spurious blank line
        drm/tegra: Increase compile test coverage
        drm/tegra: Allow the driver to be built as a module
        gpu: host1x: Add Tegra124 support
        gpu: host1x: clk_round_rate() can return a zero upon error
        gpu: host1x: Fix build warnings
        gpu: host1x: Increase compile test coverage
        ...
      785e15ec
    • Dave Airlie's avatar
      Merge branch 'drm/next/du' of git://linuxtv.org/pinchartl/fbdev into drm-next · e6c3dcde
      Dave Airlie authored
      rcar misc changes.
      
      * 'drm/next/du' of git://linuxtv.org/pinchartl/fbdev:
        drm/rcar-du: Add support for the r8a7791 DU
        drm/rcar-du: Add LVDS_LANES quirk
        drm/rcar-du: Split features and quirks
        drm/rcar-du: Update plane pitch in .mode_set_base() operation
        drm/rcar-du: Don't cast crtc to rcrtc twice in the same function
        drm/rcar-du: fix return value check in rcar_du_lvdsenc_get_resources()
      e6c3dcde
  3. 20 Dec, 2013 9 commits
  4. 19 Dec, 2013 15 commits
  5. 18 Dec, 2013 10 commits