summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2020-12-04 21:23:09 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2020-12-16 00:13:21 +0300
commit4294fa5f50328eba73a48baf2b4b053e204c68ec (patch)
treef5b57d102cc33f6ebbd443b460a79ad3f2b65000 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parent7cb917b2b7bbc10cc53f6375f173e8b353593525 (diff)
downloadlinux-4294fa5f50328eba73a48baf2b4b053e204c68ec.tar.xz
drm/i915: Reduce duplicated switch cases in hpd code
With GEN11_HOTPLUG_CTL_LONG_DETECT(), SHOTPLUG_CTL_DDI_HPD_LONG_DETECT() and ICP_TC_HPD_LONG_DETECT() taking the hpd_pin as their argument we can remove some duplication in the long_detect() switch statements. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20201204182309.14213-1-ville.syrjala@linux.intel.com Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions