1. 16 Mar, 2016 12 commits
    • Dave Airlie's avatar
      Merge branch 'drm-next-4.6' of git://people.freedesktop.org/~agd5f/linux into drm-next · 9f443bf5
      Dave Airlie authored
      A few more fixes and cleanups for 4.6:
      - DCE code cleanups
      - HDP flush/invalidation fixes
      - GPUVM fixes
      - switch to drm_vblank_[on|off]
      - PX fixes
      - misc bug fixes
      
      * 'drm-next-4.6' of git://people.freedesktop.org/~agd5f/linux: (50 commits)
        drm/amdgpu: split pipeline sync out of SDMA vm_flush() as well
        drm/amdgpu: Revert "add mutex for ba_va->valids/invalids"
        drm/amdgpu: Revert "add lock for interval tree in vm"
        drm/amdgpu: Revert "add spin lock to protect freed list in vm (v3)"
        drm/amdgpu: reserve the PD during unmap and remove
        drm/amdgpu: Fix two bugs in amdgpu_vm_bo_split_mapping
        drm/radeon: Don't drop DP 2.7 Ghz link setup on some cards.
        MAINTAINERS: update radeon entry to include amdgpu as well
        drm/amdgpu: disable runtime pm on PX laptops without dGPU power control
        drm/radeon: disable runtime pm on PX laptops without dGPU power control
        drm/amd/amdgpu: Fix indentation in do_set_base() (DCEv8)
        drm/amd/amdgpu: make afmt_init cleanup if alloc fails (DCEv8)
        drm/amd/amdgpu: Move config init flag to bottom of sw_init (DCEv8)
        drm/amd/amdgpu: Don't proceed into audio_fini if audio is disabled (DCEv8)
        drm/amd/amdgpu: Fix identation in do_set_base() (DCEv10)
        drm/amd/amdgpu: Make afmt_init cleanup if alloc fails (DCEv10)
        drm/amd/amdgpu: Move initialized flag to bottom of sw_init (DCEv10)
        drm/amd/amdgpu: Don't proceed in audio_fini if disabled (DCEv10)
        drm/amd/amdgpu: Fix indentation in dce_v11_0_crtc_do_set_base()
        drm/amd/amdgpu: Make afmt_init() cleanup if alloc fails (DCEv11)
        ...
      9f443bf5
    • Dave Airlie's avatar
      Merge tag 'vmwgfx-next-160316' of git://people.freedesktop.org/~thomash/linux into drm-next · 70a09f36
      Dave Airlie authored
      Pull request of 2016-03-16
      
      * tag 'vmwgfx-next-160316' of git://people.freedesktop.org/~thomash/linux:
        drm/vmwgfx: Bump driver minor
        drm/vmwgfx: Allow the UPDATE_LAYOUT ioctl from control nodes
        drm/vmwgfx: Send a hotplug event at master_set
        drm/vmwgfx: Default to explicit crtc placement for screen targets and screen objects
        drm/vmwgfx: Calculate the cursor position based on the crtc gui origin
        drm/vmwgfx: Add connector properties to switch between explicit and implicit placement
        drm/vmwgfx: Add suggested screen x and y connector properties
        drm/vmwgfx: Add implicit framebuffer checks to the screen target code
        drm/vmwgfx: Break out implicit fb code
        drm/vmwgfx: Rework screen target page flips v2
        drm/vmwgfx: Fix screen object page flips for large framebuffers
        drm/vmwgfx: Fix a screen object framebuffer dirty corner case
        drm/vmwgfx: Add DXGenMips support
      70a09f36
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-fixes-2016-03-16' of... · 189df01d
      Dave Airlie authored
      Merge tag 'drm-intel-next-fixes-2016-03-16' of http://anongit.freedesktop.org/git/drm-intel into drm-next
      
      * tag 'drm-intel-next-fixes-2016-03-16' of http://anongit.freedesktop.org/git/drm-intel:
        drm/i915: Handle -EDEADLK in drm_atomic_commit from load-detect.
      189df01d
    • Dave Airlie's avatar
      Merge tag 'drm/panel/for-4.6-rc1' of http://anongit.freedesktop.org/git/tegra/linux into drm-next · 5e2368a3
      Dave Airlie authored
      drm/panel: Changes for v4.6-rc1
      
      This contains a refactoring of parts of the DSI core to allow creating
      DSI devices from non-DSI control busses (i.e. I2C, SPI, ...).
      
      Other than that there's support for a couple of new panels as well as
      a few cleanup patches.
      
      * tag 'drm/panel/for-4.6-rc1' of http://anongit.freedesktop.org/git/tegra/linux:
        drm/bridge: Make (pre/post) enable/disable callbacks optional
        drm/panel: simple: Add URT UMSH-8596MD-xT panels support
        dt-bindings: Add URT UMSH-8596MD-xT panel bindings
        of: Add United Radiant Technology Corporation vendor prefix
        drm/panel: simple: Support for LG lp120up1 panel
        dt-bindings: Add LG lp120up1 panel bindings
        drm/panel: simple: Fix g121x1_l03 hsync/vsync polarity
        drm/dsi: Get DSI host by DT device node
        drm/dsi: Add routine to unregister a DSI device
        drm/dsi: Try to match non-DT DSI devices
        drm/dsi: Use mipi_dsi_device_register_full() for DSI device creation
        drm/dsi: Check for CONFIG_OF when defining of_mipi_dsi_device_add()
      5e2368a3
    • Dave Airlie's avatar
      Merge tag 'drm/tegra/for-4.6-rc1' of http://anongit.freedesktop.org/git/tegra/linux into drm-next · 0e5dc9a8
      Dave Airlie authored
      drm/tegra: Changes for v4.6-rc1
      
      Only two cleanups this time around. One fixes reference counting of
      device tree nodes, the other changes the return value of a function
      from an unsigned int to an int to reflect that it will return error
      codes.
      
      * tag 'drm/tegra/for-4.6-rc1' of http://anongit.freedesktop.org/git/tegra/linux:
        gpu: host1x: Use a signed return type for do_relocs()
        gpu: host1x: bus: Add missing of_node_put()
      0e5dc9a8
    • Markus Elfring's avatar
      gpu: host1x: Use a signed return type for do_relocs() · 341917fe
      Markus Elfring authored
      The return type "unsigned int" was used by the do_relocs() function
      despite the fact that it will eventually return a negative error code.
      Use a signed integer instead to accomodate for error codes.
      
      This issue was detected by using the Coccinelle software.
      Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
      Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
      341917fe
    • Amitoj Kaur Chawla's avatar
      gpu: host1x: bus: Add missing of_node_put() · 93ec3029
      Amitoj Kaur Chawla authored
      for_each_child_of_node() performs an of_node_get() on each iteration, so
      to break out of the loop an of_node_put() is required.
      
      Found using Coccinelle. The semantic patch used for this is as follows:
      
      // <smpl>
      @@
      expression e;
      local idexpression n;
      @@
      
       for_each_child_of_node(..., n) {
         ... when != of_node_put(n)
             when != e = n
      (
         return n;
      |
      +  of_node_put(n);
      ?  return ...;
      )
         ...
       }
      // </smpl>
      Signed-off-by: default avatarAmitoj Kaur Chawla <amitoj1606@gmail.com>
      Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
      93ec3029
    • Thomas Hellstrom's avatar
      drm/vmwgfx: Bump driver minor · 5476aa46
      Thomas Hellstrom authored
      signals availability of resolutionKMS support
      Signed-off-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
      Reviewed-by: default avatarBrian Paul <brianp@vmware.com>
      Reviewed-by: default avatarSinclar Yeh <syeh@vmware.com>
      5476aa46
    • Arnd Bergmann's avatar
      nouveau: fix nv40_perfctr_next() cleanup regression · 86d65b7e
      Arnd Bergmann authored
      gcc-6 warns about code in the nouveau driver that is obviously silly:
      
      drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c: In function 'nv40_perfctr_next':
      drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c:62:19: warning: self-comparison always evaluats to false [-Wtautological-compare]
        if (pm->sequence != pm->sequence) {
      
      The behavior was accidentally introduced in a patch described as "This is
      purely preparation for upcoming commits, there should be no code changes here.".
      As far as I can tell, that was true for the rest of that patch except for
      this one function, which has been changed to a NOP.
      
      This patch restores the original behavior.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Fixes: 8c1aeaa1 ("drm/nouveau/pm: cosmetic changes")
      Reviewed-by: default avatarBen Skeggs <bskeggs@redhat.com>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      86d65b7e
    • Dave Airlie's avatar
      Merge tag 'topic/drm-misc-2016-03-14' of git://anongit.freedesktop.org/drm-intel into drm-next · 1a4be38a
      Dave Airlie authored
      * tag 'topic/drm-misc-2016-03-14' of git://anongit.freedesktop.org/drm-intel: (27 commits)
        drm: atomic helper: do not unreference error pointer
        drm/edid: Extract SADs properly from multiple audio data blocks
        drm: fix blob pointer check
        drm: introduce pipe color correction properties
        drm/atomic: Clean up update_connector_routing.
        drm/atomic: Clean up steal_encoder, v2.
        drm/atomic: Handle encoder assignment conflicts in a separate check, v3.
        drm/atomic: Handle encoder stealing from set_config better.
        drm/atomic: Always call steal_encoder, v2.
        drm/ast: removed optional dummy crtc mode_fixup function.
        drm/bochs: removed optional dummy crtc mode_fixup function.
        drm/fsl-dcu: removed optional dummy crtc mode_fixup function.
        drm/virtio: removed optional dummy crtc mode_fixup function.
        drm/nouveau/dispnv04: removed optional dummy crtc mode_fixup function.
        drm/atmel-hlcdc: remove optional dummy crtc mode_fixup function.
        drm/sti: removed optional dummy crtc mode_fixup function.
        drm/shmobile: removed optional dummy crtc mode_fixup function.
        drm/msm/mdp: removed optional dummy crtc mode_fixup function.
        drm/omapdrm: removed optional dummy crtc mode_fixup function.
        drm/rcar-du: removed optional dummy crtc mode_fixup function.
        ...
      1a4be38a
    • Dave Airlie's avatar
      Merge tag 'drm-amdkfd-next-fixes-2016-03-15' of... · c51e034f
      Dave Airlie authored
      Merge tag 'drm-amdkfd-next-fixes-2016-03-15' of git://people.freedesktop.org/~gabbayo/linux into drm-next
      
      * tag 'drm-amdkfd-next-fixes-2016-03-15' of git://people.freedesktop.org/~gabbayo/linux:
        drm/amdkfd: uninitialized variable in dbgdev_wave_control_set_registers()
      c51e034f
    • Tomi Valkeinen's avatar
      drm/omap: fix panel/encoder probes · 55f6fca3
      Tomi Valkeinen authored
      The recent changes which removed platform data support from panels &
      encoders had a few mistakes, causing probes of DVI connector and DSI
      command mode panels to fail every time due to missing '!'. Fix the
      if()s.
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      Reported-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      55f6fca3
  2. 15 Mar, 2016 1 commit
  3. 14 Mar, 2016 27 commits