drm/i915/gsc: skip irq initialization if using polling
authorVitaly Lubart <vitaly.lubart@intel.com>
Wed, 7 Sep 2022 21:50:58 +0000 (00:50 +0300)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Mon, 12 Sep 2022 12:22:58 +0000 (15:22 +0300)
commit5c4d2536cfe105694b7045a8d7581631f44f391d
tree64273bda0685fdf911c5bf58a61eadb635f727ec
parent04f7eb3d4582a0a4da67c86e55fda7de2df86d91
drm/i915/gsc: skip irq initialization if using polling

Some platforms require the host to poll on the
GSC registers instead of relaying on the interrupts.
For those platforms, irq initialization should be skipped

Signed-off-by: Vitaly Lubart <vitaly.lubart@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220907215113.1596567-2-tomas.winkler@intel.com
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/gt/intel_gsc.c