]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
Revert "drm/i915: re-order if/else ladder for hpd_irq_setup"
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 27 Nov 2020 14:57:48 +0000 (14:57 +0000)
committerJani Nikula <jani.nikula@intel.com>
Fri, 18 Dec 2020 10:26:55 +0000 (12:26 +0200)
commit2ccf2e03868455e508b4dc9fbd1bb1daebf2222e
tree6ae39f97c9b3dd0cc85cd34637b5382a2e50b8d8
parentefd3043790c6e92f0bbe1fe385db9b544131c59c
Revert "drm/i915: re-order if/else ladder for hpd_irq_setup"

We now use ilk_hpd_irq_setup for all GMCH platforms that do not have
hotplug. These are early gen3 and gen2 devices that now explode on boot
as they try to access non-existent registers.

Fixes: 794d61a19090 ("drm/i915: re-order if/else ladder for hpd_irq_setup")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: José Roberto de Souza <jose.souza@intel.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201127145748.29491-1-chris@chris-wilson.co.uk
(cherry picked from commit e5346a1ff38a405c14ce8e595269e9b7dcfbb2e9)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_irq.c