drm/i915/cnl: Add support for horizontal plane flipping
authorJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Fri, 15 Dec 2017 21:38:00 +0000 (13:38 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 18 Dec 2017 22:44:19 +0000 (14:44 -0800)
commit5f8e3f57acf9f28bda1b91545fb204c29f39cc6d
treeffa277e1ddc34f21fd7edf4d86773e8f0458f572
parent8edcda1266f93816fde77c9754f388ae0ae343fc
drm/i915/cnl: Add support for horizontal plane flipping

CNL supports horizontal plane flipping on non-linear plane formats.

v2:
- Avoid BUG unlike elsewhere in the code (Ville)
- Hoist the rotation-tiling restriction check (Ville)

v3 (Rodrigo):
- Rebased after a while.
- Fix small indentation issues.

Bspec: 7656
Suggested-by: Anusha Srivatsa <anusha.srivatsa@intel.com>
Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Anusha Srivatsa <anusha.srivatsa@intel.com>
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171215213800.7896-1-rodrigo.vivi@intel.com
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c