]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Force planar YUV coordinates to be a multiple of 2, v2.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 20 Sep 2018 10:27:11 +0000 (12:27 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fri, 21 Sep 2018 17:30:54 +0000 (19:30 +0200)
commitfc951f41c860e7f5ec34cce57c9477cb3d9960c9
tree515da46e6eb5a391705ad7dc92ab2a64c66ffca0
parentd271454a8b3f4939109bcca8f9d155cf238c6ec4
drm/i915: Force planar YUV coordinates to be a multiple of 2, v2.

We can't make NV12 work any other way. The scaler doesn't handle odd
coordinates well, and we will get visual corruption on the screen.

Changes since v1:
- Put the check in intel_plane_check_src_coordinates. (Ville)

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180920102711.4184-9-maarten.lankhorst@linux.intel.com
drivers/gpu/drm/i915/intel_sprite.c