projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3c092a
)
MLK-19819-2 Revert "MLK-19318 drm/imx: lcdif: avoid log print when no device attached"
author
Fancy Fang
<chen.fang@nxp.com>
Tue, 9 Oct 2018 09:26:43 +0000
(17:26 +0800)
committer
Leonard Crestez
<leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000
(
02:51
+0300)
This reverts commit
05d335b07bab856b34317acbe3e3b9d9f58946ce
, since the
commit
e07309cfdc567623a3f0cde6b79b972910248152
(MLK-19819-1 drm/imx:
lcdif: bypass atomic check when CRTC is disabled) can cover the function
that commit
05d335b07bab856b34317acbe3e3b9d9f58946ce
can provide.
Signed-off-by: Fancy Fang <chen.fang@nxp.com>
(cherry picked from commit
1201a0e8194da559703d64a26aa346a8de387baa
)
drivers/gpu/drm/imx/lcdif/lcdif-crtc.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/imx/lcdif/lcdif-crtc.c
b/drivers/gpu/drm/imx/lcdif/lcdif-crtc.c
index
7d83a04
..
216baf1
100644
(file)
--- a/
drivers/gpu/drm/imx/lcdif/lcdif-crtc.c
+++ b/
drivers/gpu/drm/imx/lcdif/lcdif-crtc.c
@@
-100,13
+100,6
@@
static int lcdif_crtc_atomic_check(struct drm_crtc *crtc,
if (!state->enable)
return 0;
- /* return directly when no devices attached
- * to LCDIF to avoid below error messsage to
- * make noises in this case.
- */
- if (!imx_crtc_state->bus_format)
- return -EINVAL;
-
/* check the requested bus format can be
* supported by LCDIF CTRC or not
*/