linux-stable/include/uapi/drm
Tvrtko Ursulin d9da6aa035 drm/i915: Fix VCS ring selection after uapi decoupling
This got broken in:

   commit de1add3605
   Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
   Date:   Fri Jan 15 15:12:50 2016 +0000

       drm/i915: Decouple execbuf uAPI from internal implementation

BSD ring flags need to be shifted before they can be considered
indices into the ring array.

Reported by Zhipeng Gong.

v2: Simplify the code. (Chris Wilson)

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Zhipeng Gong <zhipeng.gong@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1453902069-31353-1-git-send-email-tvrtko.ursulin@linux.intel.com
Testcase: igt/gem_exec_basic # bdw-gt3
2016-01-28 10:25:49 +00:00
..
amdgpu_drm.h include/uapi/drm/amdgpu_drm.h: use __u32 and __u64 from <linux/types.h> 2015-12-10 12:33:23 +01:00
armada_drm.h drm: include drm.h in armada_drm.h 2015-12-10 12:33:23 +01:00
drm.h drm.h: use __kernel_size_t instead of size_t 2015-12-10 12:33:23 +01:00
drm_fourcc.h drm: drm_fourcc.h fix includes 2015-12-10 12:33:23 +01:00
drm_mode.h drm: drm_mode.h fix includes 2015-12-10 12:33:23 +01:00
drm_sarea.h drm: fix inclusion of drm.h in drm_sarea.h 2015-12-10 12:33:23 +01:00
etnaviv_drm.h drm/etnaviv: add initial etnaviv DRM driver 2015-12-15 14:48:02 +01:00
exynos_drm.h drm: fix inclusion of drm.h in exynos_sarea.h 2015-12-10 12:33:23 +01:00
i810_drm.h drm: fix inclusion of drm.h in i810_drm.h 2015-12-10 12:33:23 +01:00
i915_drm.h drm/i915: Fix VCS ring selection after uapi decoupling 2016-01-28 10:25:49 +00:00
Kbuild Merge tag 'drm-vc4-next-2015-12-11' of http://github.com/anholt/linux into drm-next 2015-12-15 10:43:27 +10:00
mga_drm.h drm: fix inclusion of drm.h in mga_drm.h 2015-12-10 12:33:23 +01:00
msm_drm.h drm/msm: trivial whitespace fix 2015-12-14 11:49:33 -05:00
nouveau_drm.h nouveau_drm.h: use __u32 and __u64 from linux/types.h 2015-12-10 12:33:23 +01:00
omap_drm.h drm/omap: remove unused plugin defines 2015-12-31 11:25:47 +02:00
qxl_drm.h drm: fix inclusion of drm.h in qxl_drm.h 2015-12-10 12:33:23 +01:00
r128_drm.h drm: fix inclusion of drm.h in r128_drm.h 2015-12-10 12:33:23 +01:00
radeon_drm.h radeon_drm.h: use __u32 and __u64 from linux/types.h 2015-12-10 12:33:23 +01:00
savage_drm.h drm: fix inclusion of drm.h in savage_drm.h 2015-12-10 12:33:23 +01:00
sis_drm.h include/uapi/drm/sis_drm.h: move sis_file_private to drivers/gpu/drm/sis/sis_drv.h 2015-10-16 11:27:46 +10:00
tegra_drm.h drm: fix inclusion of drm.h in tegra_drm.h 2015-12-10 12:33:23 +01:00
vc4_drm.h drm/vc4: Add an interface for capturing the GPU state after a hang. 2015-12-07 20:49:49 -08:00
via_drm.h drm: fix inclusion of drm.h in via_drm.h 2015-12-10 12:33:23 +01:00
virtgpu_drm.h drm: fix inclusion of drm.h in virtgpu_drm.h 2015-12-10 12:33:23 +01:00
vmwgfx_drm.h drm: fix inclusion of drm.h in vmwgfx_drm.h 2015-12-10 12:33:23 +01:00