drm/i915/display: Add warn_on in intel_psr_pause()
authorJosé Roberto de Souza <jose.souza@intel.com>
Wed, 20 Oct 2021 00:35:58 +0000 (17:35 -0700)
committerJosé Roberto de Souza <jose.souza@intel.com>
Wed, 20 Oct 2021 20:30:22 +0000 (13:30 -0700)
commit1af10a97b3a629f5f5b361f1870070c1d6e0308b
tree05e4a94e39064963c8c2bcf6430b6b226b72f2fc
parent808b79eb8165d4dbd5e731f98a4f5f4a0817ee4e
drm/i915/display: Add warn_on in intel_psr_pause()

Right now the only user of psr_pause/resume is intel_cdclk but
additional users will be added in the future and we may need
do reference counting for PSR pause and resume, for now only adding a
warn_on so this cases do not go unnoticed.

Cc: Mika Kahola <mika.kahola@intel.com>
Cc: Jouni Hogander <jouni.hogander@intel.com>
Cc: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211020003558.222198-2-jose.souza@intel.com
drivers/gpu/drm/i915/display/intel_psr.c