projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a122d70
)
drm/vc4: txp: Properly set the possible_crtcs mask
author
Maxime Ripard
<maxime@cerno.tech>
Fri, 7 May 2021 15:05:04 +0000
(17:05 +0200)
committer
Maxime Ripard
<maxime@cerno.tech>
Mon, 24 May 2021 12:41:28 +0000
(14:41 +0200)
The current code does a binary OR on the possible_crtcs variable of the
TXP encoder, while we want to set it to that value instead.
Cc: <stable@vger.kernel.org> # v5.9+
Fixes:
39fcb2808376
("drm/vc4: txp: Turn the TXP into a CRTC of its own")
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link:
https://patchwork.freedesktop.org/patch/msgid/20210507150515.257424-2-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_txp.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/vc4/vc4_txp.c
b/drivers/gpu/drm/vc4/vc4_txp.c
index
c0122d8
..
2fc7f4b
100644
(file)
--- a/
drivers/gpu/drm/vc4/vc4_txp.c
+++ b/
drivers/gpu/drm/vc4/vc4_txp.c
@@
-507,7
+507,7
@@
static int vc4_txp_bind(struct device *dev, struct device *master, void *data)
return ret;
encoder = &txp->connector.encoder;
- encoder->possible_crtcs
|
= drm_crtc_mask(crtc);
+ encoder->possible_crtcs = drm_crtc_mask(crtc);
ret = devm_request_irq(dev, irq, vc4_txp_interrupt, 0,
dev_name(dev), txp);