drm/i915/skl+: Scaling not supported in IF-ID Interlace mode
authorMahesh Kumar <mahesh1.kumar@intel.com>
Fri, 30 Jun 2017 12:11:00 +0000 (17:41 +0530)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 4 Jul 2017 13:53:53 +0000 (16:53 +0300)
commit7f58cbb187aff05e179c2d7bef9d4605fb3ced72
tree01e42076dd498527f2f08f4ea0a6c77994088a08
parent11f489d3c62b1e55efbc5f1ab058d85851a96d0e
drm/i915/skl+: Scaling not supported in IF-ID Interlace mode

GEN9+ Interlace fetch mode doesn't support pipe/plane scaling,
This patch adds check to fail the flip if pipe/plane scaling is
requested in Interlace fetch mode.

Changes since V1:
 - move check to skl_update_scaler (ville)
 - mode to adjusted_mode (ville)
 - combine pipe/plane scaling check
Changes since V2:
 - Indentation fix
 - Added TODO to handle/reject NV12 with interlace mode

Signed-off-by: Mahesh Kumar <mahesh1.kumar@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170630121100.20159-3-mahesh1.kumar@intel.com
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/i915/intel_display.c