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:
7d23e24
)
drm/vc4: crtc: Use local chan variable
author
Maxime Ripard
<maxime@cerno.tech>
Tue, 14 Jan 2020 12:37:27 +0000
(13:37 +0100)
committer
popcornmix
<popcornmix@gmail.com>
Wed, 1 Jul 2020 15:33:37 +0000
(16:33 +0100)
The vc4_crtc_handle_page_flip already has a local variable holding the
value of vc4_crtc->channel, so let's use it instead.
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
drivers/gpu/drm/vc4/vc4_crtc.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/vc4/vc4_crtc.c
b/drivers/gpu/drm/vc4/vc4_crtc.c
index
8267e38
..
2e1aee1
100644
(file)
--- a/
drivers/gpu/drm/vc4/vc4_crtc.c
+++ b/
drivers/gpu/drm/vc4/vc4_crtc.c
@@
-816,7
+816,7
@@
static void vc4_crtc_handle_page_flip(struct vc4_crtc *vc4_crtc)
* underruns. This can be seen when reconfiguring the CRTC.
*/
if (vc4->hvs)
- vc4_hvs_unmask_underrun(dev,
vc4_crtc->channel
);
+ vc4_hvs_unmask_underrun(dev,
chan
);
}
spin_unlock_irqrestore(&dev->event_lock, flags);
}