From: jsg Date: Wed, 23 Oct 2024 04:07:37 +0000 (+0000) Subject: drm/radeon: Fix encoder->possible_clones X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=79cedbc2b2561dea1832e45eec850b440c20f930;p=openbsd drm/radeon: Fix encoder->possible_clones From Ville Syrjala 1a235af0216411a32ab4db54f7bd19020b46c86d in linux-6.6.y/6.6.58 28127dba64d8ae1a0b737b973d6d029908599611 in mainline linux --- diff --git a/sys/dev/pci/drm/radeon/radeon_encoders.c b/sys/dev/pci/drm/radeon/radeon_encoders.c index 9cb6401fe97..bb908f12526 100644 --- a/sys/dev/pci/drm/radeon/radeon_encoders.c +++ b/sys/dev/pci/drm/radeon/radeon_encoders.c @@ -42,7 +42,7 @@ static uint32_t radeon_encoder_clones(struct drm_encoder *encoder) struct radeon_device *rdev = dev->dev_private; struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); struct drm_encoder *clone_encoder; - uint32_t index_mask = 0; + uint32_t index_mask = drm_encoder_mask(encoder); int count; /* DIG routing gets problematic */