]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/vlv: Remove redundant power well ID asserts
authorImre Deak <imre.deak@intel.com>
Mon, 6 Aug 2018 09:58:36 +0000 (12:58 +0300)
committerImre Deak <imre.deak@intel.com>
Wed, 8 Aug 2018 10:41:40 +0000 (13:41 +0300)
commit3ae27f7e103d95a820061fa692d0fe53303ccf98
treeec9491068916405d94f6399fc70c5da556707df7
parent48a287ed9d624d8eae65e2dd1b12915b2b853644
drm/i915/vlv: Remove redundant power well ID asserts

The callbacks these asserts are called from are used from a single power
well, so not much point in checking that. The check also requires a unique
power well ID that we would need to keep around only for this purpose.
(A follow-up patch removes power well IDs not needed for direct power
 well access).

Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180806095843.13294-4-imre.deak@intel.com
drivers/gpu/drm/i915/intel_runtime_pm.c