]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Reject Yf tiling for HDR formats, v2.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fri, 22 Mar 2019 13:59:53 +0000 (14:59 +0100)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 27 Mar 2019 16:53:30 +0000 (17:53 +0100)
commitff6163ea04801795469dadb7971afdecaebe76bc
treee15e3e4191348bfee5a29faeca08636e2bb8d90a
parent6ccc0fda2506f2157728c7616a63963a0234bc49
drm/i915: Reject Yf tiling for HDR formats, v2.

This was missing in the original addition of those formats, but in
PLANE_SIZE description it's mentioned that 8 cpp formats are not
valid with Yf tiling. Reject this case properly.

Also reject Y21x Yf tiling support this is also not supported.

Changes since v1:
- Reject Y21x as well.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190322135954.20434-2-maarten.lankhorst@linux.intel.com
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/i915/intel_sprite.c