]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/lpe: Mark LPE audio runtime pm as "no callbacks"
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 2 Aug 2018 14:04:16 +0000 (15:04 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 3 Aug 2018 09:35:13 +0000 (10:35 +0100)
commit46e831abe864a6b59fa3de253a681c0f2ee1bf2f
treebee54cbc6481124cbfa9d60a5bc1f972b370d233
parent12a6c931beffeaaa350ef562e91e49918b4b3e68
drm/i915/lpe: Mark LPE audio runtime pm as "no callbacks"

The LPE audio is a child device of i915, it is powered up and down
alongside the igfx and presents no independent runtime interface. This
aptly fulfils the description of a "No-Callback" Device, so mark it
thus.

Fixes: 183c00350ccd ("drm/i915: Fix runtime PM for LPE audio")
Testcase: igt/pm_rpm/basic-pci-d3-state
Testcase: igt/pm_rpm/basic-rte
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Takashi Iwai <tiwai@suse.de>
Cc: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: stable@vger.kernel.org
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180802140416.6062-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_lpe_audio.c