drm/i915/psr: enable psr2 for y cordinate panels
authorNagaraju, Vathsala <vathsala.nagaraju@intel.com>
Wed, 11 Jan 2017 22:28:30 +0000 (03:58 +0530)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Fri, 13 Jan 2017 18:46:12 +0000 (10:46 -0800)
commit18b9bf3ee5a4fcce8b284a1bd4ddb593f1397daa
treed23e6a8da639d3882987d0c1f48f05c880c8a703
parent6433226b0f51cdd9f08e23fa8b0c376088c33357
drm/i915/psr: enable psr2 for y cordinate panels

Psr2 is enabled only for y cordinate panels.Once GTC (global time code)
is implemented,this restriction is removed so that psr2
can work on panels without y cordinate support.

v2: (Rodrigo)
- Move the check to intel_psr_match_conditions

v3: (Rodrigo)
- add return false

v4: rebase

Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Jim Bride <jim.bride@linux.intel.com>
Signed-off-by: Vathsala Nagaraju <vathsala.nagaraju@intel.com>
Signed-off-by: Patil Deepti <deepti.patil@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/1484173710-3138-1-git-send-email-vathsala.nagaraju@intel.com
drivers/gpu/drm/i915/intel_psr.c