1. 21 12月, 2017 2 次提交
    • T
      drm/tegra: dc: Use direct offset to plane registers · 1087fac1
      Thierry Reding 提交于
      Traditionally, windows were accessed indirectly, through a register
      selection window that required a global register to be programmed with
      the index of the window to access. Since the global register could be
      written from modesetting functions as well as the interrupt handler
      concurrently, accesses had to be serialized using a lock. Using direct
      accesses to the window registers the lock can be avoided.
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      1087fac1
    • T
      drm/tegra: dc: Support more formats · 511c7023
      Thierry Reding 提交于
      Also, split up formats into per-SoC lists because not all generations
      support all of them. Note that the list is now exhaustive for all RGB
      formats, but not for YUV and indexed formats.
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      511c7023
  2. 13 12月, 2017 35 次提交
  3. 08 12月, 2017 3 次提交
    • R
      drm/qxl: reapply cursor after resetting primary · 9428088c
      Ray Strode 提交于
      QXL associates mouse state with its primary plane.
      
      Destroying a primary plane and putting a new one in place has the side
      effect of destroying the cursor as well.
      
      This commit changes the driver to reapply the cursor any time a new
      primary is created. It achieves this by keeping a reference to the
      cursor bo on the qxl_crtc struct.
      
      This fix is very similar to
      
      commit 4532b241 ("drm/qxl: reapply cursor after SetCrtc calls")
      
      which got implicitly reverted as part of implementing the atomic
      modeset feature.
      
      Cc: Gerd Hoffmann <kraxel@redhat.com>
      Cc: Dave Airlie <airlied@redhat.com>
      Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1512097
      Fixes: 1277eed5 ("drm: qxl: Atomic phase 1: convert cursor to universal plane")
      Cc: stable@vger.kernel.org
      Signed-off-by: NRay Strode <rstrode@redhat.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      9428088c
    • R
      drm/qxl: unref cursor bo when finished with it · 16c6db36
      Ray Strode 提交于
      qxl_cursor_atomic_update allocs a bo for the cursor that
      it never frees up at the end of the function.
      
      This commit fixes that.
      Signed-off-by: NRay Strode <rstrode@redhat.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      16c6db36
    • D
      Merge tag 'drm-intel-next-2017-12-01' of git://anongit.freedesktop.org/drm/drm-intel into drm-next · 3f1f0b1c
      Dave Airlie 提交于
      [airlied: fix conflict in intel_dsi.c]
      
      drm-intel-next-2017-12-01:
      
      - Init clock gate fix (Ville)
      - Execlists event handling corrections (Chris, Michel)
      - Improvements on GPU Cache invalidation and context switch (Chris)
      - More perf OA changes (Lionel)
      - More selftests improvements and fixes (Chris, Matthew)
      - Clean-up on modules parameters (Chris)
      - Clean-up around old ringbuffer submission and hw semaphore on old platforms (Chris)
      - More Cannonlake stabilization effort (David, James)
      - Display planes clean-up and improvements (Ville)
      - New PMU interface for perf queries... (Tvrtko)
      - ... and other subsequent PMU changes and fixes (Tvrtko, Chris)
      - Remove success dmesg noise from rotation (Chris)
      - New DMC for Kabylake (Anusha)
      - Fixes around atomic commits (Daniel)
      - GuC updates and fixes (Sagar, Michal, Chris)
      - Couple gmbus/i2c fixes (Ville)
      - Use exponential backoff for all our wait_for() (Chris)
      - Fixes for i915/fbdev (Chris)
      - Backlight fixes (Arnd)
      - Updates on shrinker (Chris)
      - Make Hotplug enable more robuts (Chris)
      - Disable huge pages (TPH) on lack of a needed workaround (Joonas)
      - New GuC images for SKL, KBL, BXT (Sagar)
      - Add HW Workaround for Geminilake performance (Valtteri)
      - Fixes for PPS timings (Imre)
      - More IPS fixes (Maarten)
      - Many fixes for Display Port on gen2-gen4 (Ville)
      - Retry GPU reset making the recover from hang more robust (Chris)
      
      * tag 'drm-intel-next-2017-12-01' of git://anongit.freedesktop.org/drm/drm-intel: (101 commits)
        drm/i915: Update DRIVER_DATE to 20171201
        drm/i915/cnl: Mask previous DDI - PLL mapping
        drm/i915: Remove unsafe i915.enable_rc6
        drm/i915: Sleep and retry a GPU reset if at first we don't succeed
        drm/i915: Interlaced DP output doesn't work on VLV/CHV
        drm/i915: Pass crtc state to intel_pipe_{enable,disable}()
        drm/i915: Wait for pipe to start on i830 as well
        drm/i915: Fix vblank timestamp/frame counter jumps on gen2
        drm/i915: Fix deadlock in i830_disable_pipe()
        drm/i915: Fix has_audio readout for DDI A
        drm/i915: Don't add the "force audio" property to DP connectors that don't support audio
        drm/i915: Disable DP audio for g4x
        drm/i915/selftests: Wake the device before executing requests on the GPU
        drm/i915: Set fake_vma.size as well as fake_vma.node.size for capture
        drm/i915: Tidy up signed/unsigned comparison
        drm/i915: Enable IPS with only sprite plane visible too, v4.
        drm/i915: Make ips_enabled a property depending on whether IPS is enabled, v3.
        drm/i915: Avoid PPS HW/SW state mismatch due to rounding
        drm/i915: Skip switch-to-kernel-context on suspend when wedged
        drm/i915/glk: Apply WaProgramL3SqcReg1DefaultForPerf for GLK too
        ...
      3f1f0b1c