aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2022-10-26 13:11:33 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2022-10-28 14:46:06 +0300
commit79708d142e65c59656aa231aa98e00334ced89a5 (patch)
tree0852b21783e2e9dcf547243cacc9295dacfde415 /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
parent739f8dbccf530277e3781a6a352018e972208522 (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