drm/i915: Use dev_priv in INTEL_INFO in i915_gem_execbuffer.c
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>zero-colors
parent
c6be607abc
commit
f0836b726f
|
@ -1878,7 +1878,7 @@ i915_gem_execbuffer(struct drm_device *dev, void *data,
|
||||||
exec2_list[i].relocs_ptr = exec_list[i].relocs_ptr;
|
exec2_list[i].relocs_ptr = exec_list[i].relocs_ptr;
|
||||||
exec2_list[i].alignment = exec_list[i].alignment;
|
exec2_list[i].alignment = exec_list[i].alignment;
|
||||||
exec2_list[i].offset = exec_list[i].offset;
|
exec2_list[i].offset = exec_list[i].offset;
|
||||||
if (INTEL_INFO(dev)->gen < 4)
|
if (INTEL_GEN(to_i915(dev)) < 4)
|
||||||
exec2_list[i].flags = EXEC_OBJECT_NEEDS_FENCE;
|
exec2_list[i].flags = EXEC_OBJECT_NEEDS_FENCE;
|
||||||
else
|
else
|
||||||
exec2_list[i].flags = 0;
|
exec2_list[i].flags = 0;
|
||||||
|
|
Loading…
Reference in New Issue