]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dp: Track pm_qos per connector
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 30 Dec 2020 20:23:09 +0000 (20:23 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 30 Dec 2020 21:22:55 +0000 (21:22 +0000)
commitb3304591f14b437b6bccd8dbff06006c11837031
treeef41d4295e1146ee64d84d510cb8571b9d29161a
parent021a3ac2a09592cb5d9d0946989b0e29e54a4e7b
drm/i915/dp: Track pm_qos per connector

Since multiple connectors may run intel_dp_aux_xfer conncurrently, a
single global pm_qos does not suffice. (One connector may disable the
dma-latency boost prematurely while the second is still depending on
it.) Instead of a single global pm_qos, track the pm_qos request for
each intel_dp.

v2: Move the pm_qos setup/teardown to intel_dp_aux_init/fini

Fixes: 9ee32fea5fe8 ("drm/i915: irq-drive the dp aux communication")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201230202309.23982-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/display/intel_display_types.h
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h