drm/radeon: Fix encoder->possible_clones
authorjsg <jsg@openbsd.org>
Wed, 23 Oct 2024 04:07:37 +0000 (04:07 +0000)
committerjsg <jsg@openbsd.org>
Wed, 23 Oct 2024 04:07:37 +0000 (04:07 +0000)
From Ville Syrjala
1a235af0216411a32ab4db54f7bd19020b46c86d in linux-6.6.y/6.6.58
28127dba64d8ae1a0b737b973d6d029908599611 in mainline linux

sys/dev/pci/drm/radeon/radeon_encoders.c

index 9cb6401..bb908f1 100644 (file)
@@ -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 */