1. 23 3月, 2016 1 次提交
  2. 21 3月, 2016 5 次提交
  3. 18 3月, 2016 6 次提交
  4. 17 3月, 2016 23 次提交
  5. 16 3月, 2016 5 次提交
    • M
      gpu: host1x: Use a signed return type for do_relocs() · 341917fe
      Markus Elfring 提交于
      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: NMarkus Elfring <elfring@users.sourceforge.net>
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      341917fe
    • A
      gpu: host1x: bus: Add missing of_node_put() · 93ec3029
      Amitoj Kaur Chawla 提交于
      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: NAmitoj Kaur Chawla <amitoj1606@gmail.com>
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      93ec3029
    • T
      drm/vmwgfx: Bump driver minor · 5476aa46
      Thomas Hellstrom 提交于
      signals availability of resolutionKMS support
      Signed-off-by: NThomas Hellstrom <thellstrom@vmware.com>
      Reviewed-by: NBrian Paul <brianp@vmware.com>
      Reviewed-by: NSinclar Yeh <syeh@vmware.com>
      5476aa46
    • A
      nouveau: fix nv40_perfctr_next() cleanup regression · 86d65b7e
      Arnd Bergmann 提交于
      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: NArnd Bergmann <arnd@arndb.de>
      Fixes: 8c1aeaa1 ("drm/nouveau/pm: cosmetic changes")
      Reviewed-by: NBen Skeggs <bskeggs@redhat.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      86d65b7e
    • D
      Merge tag 'topic/drm-misc-2016-03-14' of git://anongit.freedesktop.org/drm-intel into drm-next · 1a4be38a
      Dave Airlie 提交于
      * 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