diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2022-10-26 13:11:33 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2022-10-28 14:46:06 +0300 |
commit | 79708d142e65c59656aa231aa98e00334ced89a5 (patch) | |
tree | 0852b21783e2e9dcf547243cacc9295dacfde415 /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | |
parent | 739f8dbccf530277e3781a6a352018e972208522 (diff) |
drm/i915/sdvo: Reduce copy-pasta in output setup
Avoid having to call the output init function for each
output type separately. We can just call the right one
based on the "class" of the output.
Technically we could just walk the bits of the bitmask
but that could change the order in which we initialize
the outputs. To avoid any behavioural changes keep to
the same explicit probe order as before.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221026101134.20865-8-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c')
0 files changed, 0 insertions, 0 deletions