projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd5e84a
)
drm/rockchip: boot_logo: ignore display route when it's not available
author
Mark Yao
<mark.yao@rock-chips.com>
Thu, 1 Dec 2016 06:54:06 +0000
(14:54 +0800)
committer
Huang, Tao
<huangtao@rock-chips.com>
Fri, 2 Dec 2016 06:14:52 +0000
(14:14 +0800)
Change-Id: I093b4edeb17c8b1159220618a43f7552070c6001
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
drivers/gpu/drm/rockchip/rockchip_drm_drv.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/rockchip/rockchip_drm_drv.c
b/drivers/gpu/drm/rockchip/rockchip_drm_drv.c
index c76da606a7f4a7ae1ffab8c6e4a3573698a19a0b..22183397259e8fdf4372530355735a7b796ac123 100644
(file)
--- a/
drivers/gpu/drm/rockchip/rockchip_drm_drv.c
+++ b/
drivers/gpu/drm/rockchip/rockchip_drm_drv.c
@@
-505,6
+505,9
@@
static void show_loader_logo(struct drm_device *drm_dev)
state->acquire_ctx = mode_config->acquire_ctx;
for_each_child_of_node(root, route) {
+ if (!of_device_is_available(route))
+ continue;
+
set = of_parse_display_resource(drm_dev, route);
if (!set)
continue;