diff options
Diffstat (limited to 'drivers/gpu/drm/i915/intel_sprite.c')
| -rw-r--r-- | drivers/gpu/drm/i915/intel_sprite.c | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_sprite.c b/drivers/gpu/drm/i915/intel_sprite.c index 6fdd4270453..414d325f28d 100644 --- a/drivers/gpu/drm/i915/intel_sprite.c +++ b/drivers/gpu/drm/i915/intel_sprite.c @@ -522,6 +522,11 @@ intel_update_plane(struct drm_plane *plane, struct drm_crtc *crtc,  	mutex_lock(&dev->struct_mutex); +	/* Note that this will apply the VT-d workaround for scanouts, +	 * which is more restrictive than required for sprites. (The +	 * primary plane requires 256KiB alignment with 64 PTE padding, +	 * the sprite planes only require 128KiB alignment and 32 PTE padding. +	 */  	ret = intel_pin_and_fence_fb_obj(dev, obj, NULL);  	if (ret)  		goto out_unlock;  |