diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-02-26 15:34:42 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-02-26 15:34:42 -0500 |
commit | 8e22e1b3499a446df48c2b26667ca36c55bf864c (patch) | |
tree | 5329f98b3eb3c95a9dcbab0fa4f9b6e62f0e788d /drivers/gpu/drm/i915/i915_gem_execbuffer.c | |
parent | 00d3c14f14d51babd8aeafd5fa734ccf04f5ca3d (diff) | |
parent | 64a577196d66b44e37384bc5c4d78c61f59d5b2a (diff) |
Merge airlied/drm-next into drm-misc-next
Backmerge the main pull request to sync up with all the newly landed
drivers. Otherwise we'll have chaos even before 4.12 started in
earnest.
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_execbuffer.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_gem_execbuffer.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem_execbuffer.c b/drivers/gpu/drm/i915/i915_gem_execbuffer.c index 57bec08e80c5..d02cfaefe1c8 100644 --- a/drivers/gpu/drm/i915/i915_gem_execbuffer.c +++ b/drivers/gpu/drm/i915/i915_gem_execbuffer.c | |||
@@ -1180,14 +1180,14 @@ validate_exec_list(struct drm_device *dev, | |||
1180 | if (exec[i].offset != | 1180 | if (exec[i].offset != |
1181 | gen8_canonical_addr(exec[i].offset & PAGE_MASK)) | 1181 | gen8_canonical_addr(exec[i].offset & PAGE_MASK)) |
1182 | return -EINVAL; | 1182 | return -EINVAL; |
1183 | |||
1184 | /* From drm_mm perspective address space is continuous, | ||
1185 | * so from this point we're always using non-canonical | ||
1186 | * form internally. | ||
1187 | */ | ||
1188 | exec[i].offset = gen8_noncanonical_addr(exec[i].offset); | ||
1189 | } | 1183 | } |
1190 | 1184 | ||
1185 | /* From drm_mm perspective address space is continuous, | ||
1186 | * so from this point we're always using non-canonical | ||
1187 | * form internally. | ||
1188 | */ | ||
1189 | exec[i].offset = gen8_noncanonical_addr(exec[i].offset); | ||
1190 | |||
1191 | if (exec[i].alignment && !is_power_of_2(exec[i].alignment)) | 1191 | if (exec[i].alignment && !is_power_of_2(exec[i].alignment)) |
1192 | return -EINVAL; | 1192 | return -EINVAL; |
1193 | 1193 | ||