drm/i915: re-order if/else ladder for hpd_irq_setup
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 6 Nov 2020 22:55:29 +0000 (14:55 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Wed, 11 Nov 2020 19:51:18 +0000 (11:51 -0800)
commit794d61a190905ea2951f4d7d565d1375d7a0de67
tree921368bfd89914c95a30e299176f9dc8c26237b8
parent71c8415d0daa78ef1295743d0e11ba0214d0a9b9
drm/i915: re-order if/else ladder for hpd_irq_setup

Use the convention of new platforms first. No need to special case
HAS_GMCH() since that stopped being true at the lattest on gen8 (for
cherryview).

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201106225531.920641-6-lucas.demarchi@intel.com
drivers/gpu/drm/i915/i915_irq.c