summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-10-23 04:07:38 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-10-23 04:07:38 +0000
commitec87c69cd64e66f2f26b2eb5973967b95dbddf43 (patch)
tree55ce5f6a728e8480c9bd52e42bbbe7b313cff1b9 /sys/dev/pci/drm
parenta26b28bcef4cf910eca068b0620ed1a569c363c9 (diff)
drm/radeon: Fix encoder->possible_clones
From Ville Syrjala 1a235af0216411a32ab4db54f7bd19020b46c86d in linux-6.6.y/6.6.58 28127dba64d8ae1a0b737b973d6d029908599611 in mainline linux
Diffstat (limited to 'sys/dev/pci/drm')
-rw-r--r--sys/dev/pci/drm/radeon/radeon_encoders.c2
1 files changed, 1 insertions, 1 deletions
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 */