projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ebb2cf
)
drm/vc4: crtc: Use local chan variable
author
Maxime Ripard
<maxime@cerno.tech>
Thu, 3 Sep 2020 08:00:43 +0000
(10:00 +0200)
committer
Maxime Ripard
<maxime@cerno.tech>
Mon, 7 Sep 2020 16:02:36 +0000
(18:02 +0200)
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>
Tested-by: Chanwoo Choi <cw00.choi@samsung.com>
Tested-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/439c589baec72ddb89159857a2d078fdd77b02a2.1599120059.git-series.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 d3126fe04d9a34823ff785d0c75063a21a3b7e51..cdeaa0cd981f09fb572d913d8b0cb31388507d1c 100644
(file)
--- a/
drivers/gpu/drm/vc4/vc4_crtc.c
+++ b/
drivers/gpu/drm/vc4/vc4_crtc.c
@@
-533,7
+533,7
@@
static void vc4_crtc_handle_page_flip(struct vc4_crtc *vc4_crtc)
* the CRTC and encoder already reconfigured, leading to
* underruns. This can be seen when reconfiguring the CRTC.
*/
- vc4_hvs_unmask_underrun(dev,
vc4_crtc->channel
);
+ vc4_hvs_unmask_underrun(dev,
chan
);
}
spin_unlock_irqrestore(&dev->event_lock, flags);
}