drm/i915/display: Add PSR interrupt error check function
authorGwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Wed, 19 May 2021 00:06:20 +0000 (17:06 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 20 May 2021 06:59:28 +0000 (23:59 -0700)
commit2d776579728b5d1b04882e1bc7c9b2d10b238003
treef97f9a48078c66a2cb7f3a823a996c998d9c7394
parent8aa2d2ef4641ecb5776bab28706b934ba06ee6bf
drm/i915/display: Add PSR interrupt error check function

In order to reuse code of PSR interrupt error check on other PSR functions,
it adds psr_interrupt_error_check() function.

Cc: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210519000625.3184321-13-lucas.demarchi@intel.com
drivers/gpu/drm/i915/display/intel_psr.c