1. 14 Nov, 2014 7 commits
    • Dave Airlie's avatar
      Merge tag 'drm/panel/for-3.19-rc1' of git://people.freedesktop.org/~tagr/linux into drm-next · 8aa3dc3c
      Dave Airlie authored
      drm/panel: Changes for v3.19-rc1
      
      This contains support for a couple of new panels, updates for some GPIO
      API changes and a bunch of updates to the MIPI DSI support that should
      make it easier to write panel drivers in the future.
      
      * tag 'drm/panel/for-3.19-rc1' of git://people.freedesktop.org/~tagr/linux: (31 commits)
        drm/panel: Add Sharp LQ101R1SX01 support
        drm/dsi: Do not require .owner field to be set
        drm/dsi: Resolve MIPI DSI device from phandle
        drm/dsi: Implement DCS set_{column,page}_address commands
        drm/dsi: Implement DCS {get,set}_pixel_format commands
        drm/dsi: Implement DCS get_power_mode command
        drm/dsi: Implement DCS soft_reset command
        drm/dsi: Implement DCS nop command
        drm/dsi: Add to DocBook documentation
        drm/dsi: Implement some standard DCS commands
        drm/dsi: Implement generic read and write commands
        drm/panel: s6e8aa0: Use standard MIPI DSI function
        drm/dsi: Add mipi_dsi_set_maximum_return_packet_size() helper
        drm/dsi: Constify mipi_dsi_msg
        drm/dsi: Make mipi_dsi_dcs_{read,write}() symmetrical
        drm/dsi: Add DSI transfer helper
        drm/dsi: Add message to packet translator
        drm/dsi: Introduce packet format helpers
        drm/panel: s6e8aa0: Fix build warnings on 64-bit
        drm/panel: ld9040: Fix build warnings on 64-bit
        ...
      8aa3dc3c
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-2014-11-07-fixups' of... · fd172d0c
      Dave Airlie authored
      Merge tag 'drm-intel-next-2014-11-07-fixups' of git://anongit.freedesktop.org/drm-intel into drm-next
      
      - skl watermarks code (Damien, Vandana, Pradeep)
      - reworked audio codec /eld handling code (Jani)
      - rework the mmio_flip code to use the vblank evade logic and wait for rendering
        using the standard wait_seqno interface (Ander)
      - skl forcewake support (Zhe Wang)
      - refactor the chv interrupt code to use functions shared with vlv (Ville)
      - prep work for different global gtt views (Tvrtko Ursulin)
      - precompute the display PLL config before touching hw state (Ander)
      - completely reworked panel power sequencer code for chv/vlv (Ville)
      - pre work to split the plane update code into a prepare and commit phase
        (Gustavo Padovan)
      - golden context for skl (Armin Reese)
      - as usual tons of fixes and improvements all over
      
      * tag 'drm-intel-next-2014-11-07-fixups' of git://anongit.freedesktop.org/drm-intel: (135 commits)
        drm/i915: Use correct pipe config to update pll dividers. V2
        drm/i915: Plug memory leak in intel_shared_dpll_start_config()
        drm/i915: Update DRIVER_DATE to 20141107
        drm/i915: Add gen to the gpu hang ecode
        drm/i915: Cache HPLL frequency on VLV/CHV
        Revert "drm/i915/vlv: Remove check for Old Ack during forcewake"
        drm/i915: Make mmio flip wait for seqno in the work function
        drm/i915: Make __wait_seqno non-static and rename to __i915_wait_seqno
        drm/i915: Move the .global_resources() hook call into modeset_update_crtc_power_domains()
        drm/i915/audio: add DOC comment describing HDA over HDMI/DP
        drm/i915: make pipe/port based audio valid accessors easier to use
        drm/i915/audio: add audio codec enable debug log for g4x
        drm/i915/audio: add audio codec disable on g4x
        drm/i915: enable audio codec after port
        drm/i915/audio: add vlv/chv/gen5-7 audio codec disable sequence
        drm/i915/audio: rewrite vlv/chv and gen 5-7 audio codec enable sequence
        drm/i915/skl: Enable Gen9 RC6
        drm/i915/skl: Gen9 Forcewake
        drm/i915/skl: Log the order in which we flush the pipes in the WM code
        drm/i915/skl: Flush the WM configuration
        ...
      fd172d0c
    • Chris Wilson's avatar
      drm/dp/mst: Handle invalid link bandwidth from DPCD gracefully · b853fdb3
      Chris Wilson authored
      Don't BUG out if the link reports an invalid (or plain unknown)
      bandwidth value, but report the failure and fail gracefully.
      
      Fixes a trivial compiler warning in case the BUG is ever compiled away.
      
      Link: http://lkml.kernel.org/p/1415785566-12758-1-git-send-email-geert@linux-m68k.orgSigned-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Cc: Dave Airlie <airlied@redhat.com>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      b853fdb3
    • Rob Clark's avatar
      drm/atomic: rip out unnecessary locking checks · db883628
      Rob Clark authored
      For async commit, it is *intentional* that those locks are not held.
      Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      db883628
    • Boris BREZILLON's avatar
      drm: flip-work: change drm_flip_work_init prototype · d7f8db53
      Boris BREZILLON authored
      Now that we're using lists instead of kfifo to store drm flip-work tasks
      we do not need the size parameter passed to drm_flip_work_init function
      anymore.
      Moreover this function cannot fail anymore, we can thus remove the return
      code.
      
      Modify drm_flip_work_init users to take account of these changes.
      
      [airlied: fixed two unused variable warnings]
      Signed-off-by: default avatarBoris BREZILLON <boris.brezillon@free-electrons.com>
      Reviewed-by: default avatarRob Clark <robdclark@gmail.com>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      d7f8db53
    • Boris BREZILLON's avatar
      drm: rework flip-work helpers to avoid calling func when the FIFO is full · 8bd4ae20
      Boris BREZILLON authored
      Make use of lists instead of kfifo in order to dynamically allocate
      task entry when someone require some delayed work, and thus preventing
      drm_flip_work_queue from directly calling func instead of queuing this
      call.
      This allow drm_flip_work_queue to be safely called even within irq
      handlers.
      
      Add new helper functions to allocate a flip work task and queue it when
      needed. This prevents allocating data within irq context (which might
      impact the time spent in the irq handler).
      Signed-off-by: default avatarBoris BREZILLON <boris.brezillon@free-electrons.com>
      Reviewed-by: default avatarRob Clark <robdclark@gmail.com>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      8bd4ae20
    • Bob Paauwe's avatar
      drm/i915: Use correct pipe config to update pll dividers. V2 · e1f234bd
      Bob Paauwe authored
      Use the new pipe config values to calculate the updated pll dividers.
      
      This regression was introduced in
      
      commit 0dbdf89f27b17ae1eceed6782c2917f74cbb5d59
      Author: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
      Date:   Wed Oct 29 11:32:33 2014 +0200
      
          drm/i915: Add infrastructure for choosing DPLLs before disabling crtcs
      
      	and
      
      	commit 00d958817dd3daaa452c221387ddaf23d1e4c06f
      	Author: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
      	Date:   Wed Oct 29 11:32:36 2014 +0200
      
      	    drm/i915: Covert remaining platforms to choose DPLLS before disabling CRTCs
      
      v2: Use intel_pipe_will_have_type() to look at new configuration - Ander
      Signed-off-by: default avatarBob Paauwe <bob.j.paauwe@intel.com>
      CC: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
      Tested-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
      Reviewed-by: default avatarAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      e1f234bd
  2. 13 Nov, 2014 18 commits
  3. 12 Nov, 2014 15 commits