Merge drm-upstream/drm-next into drm-intel-next-queued
authorJani Nikula <jani.nikula@intel.com>
Thu, 28 Sep 2017 12:56:49 +0000 (15:56 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 28 Sep 2017 12:56:49 +0000 (15:56 +0300)
Need MST sideband message transaction to power up/down nodes.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
1  2 
drivers/gpu/drm/i915/gvt/cmd_parser.c
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_execbuffer.c
drivers/gpu/drm/i915/i915_gem_gtt.c
drivers/gpu/drm/i915/i915_gem_userptr.c
drivers/gpu/drm/i915/i915_gpu_error.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/selftests/i915_random.c
drivers/media/v4l2-core/videobuf2-dma-contig.c

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index aa9ccc3ecff9fc3da67374d8a21a01f8554a1d04,f780f39e0758c646dae633ce93306892c667f480..c4b224a3a0ee4349187d3d8cd582b9e8b41e0682
@@@ -12367,8 -12298,8 +12299,7 @@@ static void intel_atomic_commit_tail(st
        struct drm_crtc_state *old_crtc_state, *new_crtc_state;
        struct drm_crtc *crtc;
        struct intel_crtc_state *intel_cstate;
 -      bool hw_check = intel_state->modeset;
        u64 put_domains[I915_MAX_PIPES] = {};
-       unsigned crtc_vblank_mask = 0;
        int i;
  
        intel_atomic_commit_fence_wait(intel_state);
index 2405077fdc716aadad9bebd238ad21c8cf178cfa,9f389f36566de38eade18dfe008be0c314908346..a9806ba6116dec553be8f06141b5e6d314a8996c
@@@ -507,8 -507,9 +507,9 @@@ static void *vb2_dc_get_userptr(struct 
        buf->dev = dev;
        buf->dma_dir = dma_dir;
  
 -      offset = vaddr & ~PAGE_MASK;
 +      offset = lower_32_bits(offset_in_page(vaddr));
-       vec = vb2_create_framevec(vaddr, size, dma_dir == DMA_FROM_DEVICE);
+       vec = vb2_create_framevec(vaddr, size, dma_dir == DMA_FROM_DEVICE ||
+                                              dma_dir == DMA_BIDIRECTIONAL);
        if (IS_ERR(vec)) {
                ret = PTR_ERR(vec);
                goto fail_buf;