drm/i915/psr: report psr2 hw enabled from psr2_ctl
authorNagaraju, Vathsala <vathsala.nagaraju@intel.com>
Fri, 9 Dec 2016 18:12:09 +0000 (23:42 +0530)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Sat, 10 Dec 2016 00:39:56 +0000 (16:39 -0800)
commit7e3eb599236db605413b4e047692dab9b600d6c6
tree3f8bfcec582a91859a9507be1dfb9f29db850c09
parent16d98b31f807756269106f9a71b1a3dc0d19c629
drm/i915/psr: report psr2 hw enabled from psr2_ctl

For PSR2 , as per spec, PSR2_CTL bit 31 to be set.
for psr1, bit 31 in SRD_CTL to be set. Reporting
"HW Enabled & Active bit" status for psr2 from SRD_CTL
gives  wrong status.

Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Jim Bride <jim.bride@linux.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/1481307129-29354-1-git-send-email-vathsala.nagaraju@intel.com
drivers/gpu/drm/i915/i915_debugfs.c