1. 14 Oct, 2016 16 commits
  2. 13 Oct, 2016 10 commits
  3. 12 Oct, 2016 11 commits
  4. 11 Oct, 2016 3 commits
    • Dave Airlie's avatar
      Merge tag 'topic/drm-misc-2016-10-11' of git://anongit.freedesktop.org/drm-intel into drm-next · 69405d3d
      Dave Airlie authored
      Just flushing out my -misc queue. Slightly important are the prime
      refcount/unload fixes from Chris.
      
      There's also the reservation stuff from Chris still pending, and Sumits
      hasn't landed that yet. Might get another pull for that, but pls don't
      hold up the main pull for it ;-)
      
      * tag 'topic/drm-misc-2016-10-11' of git://anongit.freedesktop.org/drm-intel:
        drm/crtc: constify drm_crtc_index parameter
        drm: use the right function name in documentation
        drm: Release resources with a safer function
        drm: Fix up kerneldoc for new drm_gem_dmabuf_export()
        drm/bridge: Drop drm_connector_unregister and call drm_connector_cleanup directly
        drm/fb-helper: fix sphinx markup for DRM_FB_HELPER_DEFAULT_OPS
        drm/bridge: Add RGB to VGA bridge support
        drm/prime: Take a ref on the drm_dev when exporting a dma_buf
        drm/prime: Pass the right module owner through to dma_buf_export()
        drm/bridge: Call drm_connector_cleanup directly
        drm: simple_kms_helper: Add prepare_fb and cleanup_fb hooks
        drm: Release resources with a safer function
      69405d3d
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-fixes-2016-10-11' of... · 28da9ed6
      Dave Airlie authored
      Merge tag 'drm-intel-next-fixes-2016-10-11' of git://anongit.freedesktop.org/drm-intel into drm-next
      
      A big bunch of i915 fixes for drm-next / v4.9 merge window, with more
      than half of them also cc: stable. We also continue to have more Fixes:
      annotations for our fixes, which should help the backporters and
      archeologists.
      
      * tag 'drm-intel-next-fixes-2016-10-11' of git://anongit.freedesktop.org/drm-intel: (27 commits)
        drm/i915: Fix conflict resolution from backmerge of v4.8-rc8 to drm-next
        drm/i915/guc: Unwind GuC workqueue reservation if request construction fails
        drm/i915: Reset the breadcrumbs IRQ more carefully
        drm/i915: Force relocations via cpu if we run out of idle aperture
        drm/i915: Distinguish last emitted request from last submitted request
        drm/i915: Allow DP to work w/o EDID
        drm/i915: Move long hpd handling into the hotplug work
        drm/i915/execlists: Reinitialise context image after GPU hang
        drm/i915: Use correct index for backtracking HUNG semaphores
        drm/i915: Unalias obj->phys_handle and obj->userptr
        drm/i915: Just clear the mmiodebug before a register access
        drm/i915/gen9: only add the planes actually affected by ddb changes
        drm/i915: Allow PCH DPLL sharing regardless of DPLL_SDVO_HIGH_SPEED
        drm/i915/bxt: Fix HDMI DPLL configuration
        drm/i915/gen9: fix the watermark res_blocks value
        drm/i915/gen9: fix plane_blocks_per_line on watermarks calculations
        drm/i915/gen9: minimum scanlines for Y tile is not always 4
        drm/i915/gen9: fix the WaWmMemoryReadLatency implementation
        drm/i915/kbl: KBL also needs to run the SAGV code
        drm/i915: introduce intel_has_sagv()
        ...
      28da9ed6
    • Paulo Zanoni's avatar
      drm/i915/gen9: fix DDB partitioning for multi-screen cases · 5a920b85
      Paulo Zanoni authored
      With the previous code we were only recomputing the DDB partitioning
      for the CRTCs included in the atomic commit, so any other active CRTCs
      would end up having their DDB registers zeroed. In this patch we make
      sure that the computed state starts as a copy of the current
      partitioning, and then we only zero the DDBs that we're actually
      going to recompute.
      
      How to reproduce the bug:
        1 - Enable the primary plane on pipe A
        2 - Enable the primary plane on pipe B
        3 - Enable the cursor or sprite plane on pipe A
      
      Step 3 will zero the DDB partitioning for pipe B since it's not
      included in the commit that enabled the cursor or sprite for pipe A.
      
      I expect this to fix many FIFO underrun problems on gen9+.
      
      v2:
        - Mention the cursor on the steps to reproduce the problem (Paulo).
        - Add Testcase tag provided by Maarten (Maarten).
      
      Testcase: kms_cursor_legacy.cursorA-vs-flipB-atomic-transitions
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96226
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96828
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97450
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97596
      Bugzilla: https://www.phoronix.com/scan.php?page=news_item&px=Intel-Skylake-Multi-Screen-Woes
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarPaulo Zanoni <paulo.r.zanoni@intel.com>
      Reviewed-by: default avatarLyude <cpaul@redhat.com>
      Link: http://patchwork.freedesktop.org/patch/msgid/1475602652-17326-1-git-send-email-paulo.r.zanoni@intel.com
      5a920b85