drm/i915/hdcp: No direct access to power_well desc
authorAnshuman Gupta <anshuman.gupta@intel.com>
Wed, 5 Aug 2020 11:45:21 +0000 (17:15 +0530)
committerRamalingam C <ramalingam.c@intel.com>
Wed, 26 Aug 2020 11:11:32 +0000 (16:41 +0530)
commit4fcee7be650c7f7c0581034b9cc4336190226abf
tree59c5f7b8e3ee03c21e6b879a534beb6acbd64aea
parentdbda95809457875ded5d596acf929fc9de4d36c2
drm/i915/hdcp: No direct access to power_well desc

HDCP code doesn't require to access power_well internal stuff,
instead it should use the intel_display_power_well_is_enabled()
to get the status of desired power_well.
No functional change.

v2:
- used with_intel_runtime_pm instead of get/put. [Jani]
v3:
- rebased.

Cc: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com>
Reviewed-by: Ramalingam C <ramalingam.c@intel.com>
Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200805114521.867-3-anshuman.gupta@intel.com
drivers/gpu/drm/i915/display/intel_hdcp.c