]> Git Repo - linux.git/commitdiff
Merge tag 'drm-intel-next-fixes-2020-10-22' of git://anongit.freedesktop.org/drm...
authorDave Airlie <[email protected]>
Thu, 22 Oct 2020 23:46:18 +0000 (09:46 +1000)
committerDave Airlie <[email protected]>
Thu, 22 Oct 2020 23:52:18 +0000 (09:52 +1000)
- Tweak initia DPCD backlight.enabled value (Sean)
- Initialize reserved MOCS indices (Ayaz)
- Mark initial fb obj as WT on eLLC machines to avoid rcu lockup (Ville)
- Support parsing of oversize batches (Chris)
- Delay execlists processing for TGL (Chris)
- Use the active reference on the vma during error capture (Chris)
- Widen CSB pointer (Chris)
- Wait for CSB entries on TGL (Chris)
- Fix unwind for scratch page allocation (Chris)
- Exclude low patches of stolen memory (Chris)
- Force VT'd workarounds when running as a guest OS (Chris)
- Drop runtime-pm assert from vpgu io accessors (Chris)

Signed-off-by: Dave Airlie <[email protected]>
From: Rodrigo Vivi <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1  2 
drivers/gpu/drm/i915/display/intel_display.c

index a1fba7eb94cb673674c85cb35f2a5cf47f188b79,d9494fd7c305cb62b89658cd3f900de4641bedde..829b2a40a48219810c162c0d8c312dceec470b40
@@@ -3434,6 -3434,14 +3434,14 @@@ initial_plane_vma(struct drm_i915_priva
        if (IS_ERR(obj))
                return NULL;
  
+       /*
+        * Mark it WT ahead of time to avoid changing the
+        * cache_level during fbdev initialization. The
+        * unbind there would get stuck waiting for rcu.
+        */
+       i915_gem_object_set_cache_coherency(obj, HAS_WT(i915) ?
+                                           I915_CACHE_WT : I915_CACHE_NONE);
        switch (plane_config->tiling) {
        case I915_TILING_NONE:
                break;
@@@ -8161,7 -8169,7 +8169,7 @@@ static void compute_m_n(unsigned int m
         * which the devices expect also in synchronous clock mode.
         */
        if (constant_n)
 -              *ret_n = 0x8000;
 +              *ret_n = DP_LINK_CONSTANT_N_VALUE;
        else
                *ret_n = min_t(unsigned int, roundup_pow_of_two(n), DATA_LINK_N_MAX);
  
This page took 0.09237 seconds and 4 git commands to generate.