]> 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)
commit18881fabf3635c2351b7849d7f6272fb5002b1e8
tree515da46e6eb5a391705ad7dc92ab2a64c66ffca0
parent2d65b142a2d971c0175f88a2d6ec85dd2d6629a7
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