]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Merge tag 'drm-intel-next-2014-12-19' of git://anongit.freedesktop.org/drm-intel...
authorDave Airlie <airlied@redhat.com>
Fri, 9 Jan 2015 22:46:24 +0000 (08:46 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 9 Jan 2015 22:46:24 +0000 (08:46 +1000)
- plane handling refactoring from Matt Roper and Gustavo Padovan in prep for
  atomic updates
- fixes and more patches for the seqno to request transformation from John
- docbook for fbc from Rodrigo
- prep work for dual-link dsi from Gaurav Signh
- crc fixes from Ville
- special ggtt views infrastructure from Tvrtko Ursulin
- shadow patch copying for the cmd parser from Brad Volkin
- execlist and full ppgtt by default on gen8, for testing for now

* tag 'drm-intel-next-2014-12-19' of git://anongit.freedesktop.org/drm-intel: (131 commits)
  drm/i915: Update DRIVER_DATE to 20141219
  drm/i915: Hold runtime PM during plane commit
  drm/i915: Organize bind_vma funcs
  drm/i915: Organize INSTDONE report for future.
  drm/i915: Organize PDP regs report for future.
  drm/i915: Organize PPGTT init
  drm/i915: Organize Fence registers for future enablement.
  drm/i915: tame the chattermouth (v2)
  drm/i915: Warn about missing context state workarounds only once
  drm/i915: Use true PPGTT in Gen8+ when execlists are enabled
  drm/i915: Skip gunit save/restore for cherryview
  drm/i915/chv: Use timeout mode for RC6 on chv
  drm/i915: Add GPGPU_THREADS_DISPATCHED to the register whitelist
  drm/i915: Tidy up execbuffer command parsing code
  drm/i915: Mark shadow batch buffers as purgeable
  drm/i915: Use batch length instead of object size in command parser
  drm/i915: Use batch pools with the command parser
  drm/i915: Implement a framework for batch buffer pools
  drm/i915: fix use after free during eDP encoder destroying
  drm/i915/skl: Skylake also supports DP MST
  ...

16 files changed:
1  2 
Documentation/DocBook/drm.tmpl
drivers/gpu/drm/drm_crtc.c
drivers/gpu/drm/drm_modes.c
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_context.c
drivers/gpu/drm/i915/i915_gem_execbuffer.c
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/i915_suspend.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_pm.c
drivers/gpu/drm/i915/intel_ringbuffer.c
include/drm/drm_crtc.h
include/drm/drm_modes.h

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index 52adcb680be3a61113630493c6c5b98509965912,f678017c4d3127cfaf2ae021818f700ea60f808a..3044fb324c8e9e255ab20d867af94af71e11bc11
@@@ -1222,11 -1223,10 +1221,11 @@@ int __i915_wait_request(struct drm_i915
  
        WARN(!intel_irqs_enabled(dev_priv), "IRQs disabled");
  
-       if (i915_seqno_passed(ring->get_seqno(ring, true), seqno))
+       if (i915_gem_request_completed(req, true))
                return 0;
  
 -      timeout_expire = timeout ? jiffies + nsecs_to_jiffies((u64)*timeout) : 0;
 +      timeout_expire = timeout ?
 +              jiffies + nsecs_to_jiffies_timeout((u64)*timeout) : 0;
  
        if (INTEL_INFO(dev)->gen >= 6 && ring->id == RCS && can_wait_boost(file_priv)) {
                gen6_rps_boost(dev_priv);
Simple merge
index 172de3b3433b20b57d7e57f31ad63d3daa09bba3,1fdda4249bb18d546127dd9407c85b0f077b421c..40ca873a05ad91657acb963ebbbb01df36e87009
  #define _PORT(port, a, b) ((a) + (port)*((b)-(a)))
  #define _PIPE3(pipe, a, b, c) ((pipe) == PIPE_A ? (a) : \
                               (pipe) == PIPE_B ? (b) : (c))
+ #define _PORT3(port, a, b, c) ((port) == PORT_A ? (a) : \
+                              (port) == PORT_B ? (b) : (c))
  
 -#define _MASKED_BIT_ENABLE(a) (((a) << 16) | (a))
 -#define _MASKED_BIT_DISABLE(a) ((a) << 16)
 +#define _MASKED_FIELD(mask, value) ({                                    \
 +      if (__builtin_constant_p(mask))                                    \
 +              BUILD_BUG_ON_MSG(((mask) & 0xffff0000), "Incorrect mask"); \
 +      if (__builtin_constant_p(value))                                   \
 +              BUILD_BUG_ON_MSG((value) & 0xffff0000, "Incorrect value"); \
 +      if (__builtin_constant_p(mask) && __builtin_constant_p(value))     \
 +              BUILD_BUG_ON_MSG((value) & ~(mask),                        \
 +                               "Incorrect value for mask");              \
 +      (mask) << 16 | (value); })
 +#define _MASKED_BIT_ENABLE(a) ({ typeof(a) _a = (a); _MASKED_FIELD(_a, _a); })
 +#define _MASKED_BIT_DISABLE(a)        (_MASKED_FIELD((a), 0))
 +
 +
  
  /* PCI config space */
  
Simple merge
Simple merge
Simple merge
index c7bc93d28d84ec4356c0c5f5c4e4cd67296df709,3cad32a80108f3bc8059dbe4d5f9c8f9513a8ff0..12a36f0ca53d61e589d708d37e3791bfd4d8625e
@@@ -703,8 -710,24 +713,24 @@@ static int intel_ring_workarounds_emit(
        return 0;
  }
  
+ static int intel_rcs_ctx_init(struct intel_engine_cs *ring,
+                             struct intel_context *ctx)
+ {
+       int ret;
+       ret = intel_ring_workarounds_emit(ring, ctx);
+       if (ret != 0)
+               return ret;
+       ret = i915_gem_render_state_init(ring);
+       if (ret)
+               DRM_ERROR("init render state: %d\n", ret);
+       return ret;
+ }
  static int wa_add(struct drm_i915_private *dev_priv,
 -                const u32 addr, const u32 val, const u32 mask)
 +                const u32 addr, const u32 mask, const u32 val)
  {
        const u32 idx = dev_priv->workarounds.count;
  
Simple merge
Simple merge