drm/i915/psr: disable psr2 for resolution greater than 32X20
authorNagaraju, Vathsala <vathsala.nagaraju@intel.com>
Tue, 10 Jan 2017 07:02:26 +0000 (12:32 +0530)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 10 Jan 2017 23:41:44 +0000 (15:41 -0800)
commitacf45d11050abd751dcec986ab121cb2367dcbba
treef465a10718bec7f765ef5a6148ce04d006b9aa78
parent97da2ef449c44f4fffe02c2a9db6dec706cfa918
drm/i915/psr: disable psr2 for resolution greater than 32X20

PSR2 is restricted to work with panel resolutions upto 3200x2000,
move the check to intel_psr_match_conditions and fully block psr.

Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Jim Bride <jim.bride@linux.intel.com>
Suggested-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Vathsala Nagaraju <vathsala.nagaraju@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1484031746-20874-1-git-send-email-vathsala.nagaraju@intel.com
drivers/gpu/drm/i915/intel_psr.c