1. 16 Mar, 2016 8 commits
    • 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
    • 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 31 commits