projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bad74d
)
drm/i915/ddi: warn instead of oops on invalid ddi encoder type
author
Jani Nikula
<
[email protected]
>
Tue, 29 Sep 2015 07:24:25 +0000
(10:24 +0300)
committer
Daniel Vetter
<
[email protected]
>
Wed, 30 Sep 2015 08:20:40 +0000
(10:20 +0200)
It's more useful to limp on than bring the kernel down. Hitting this is
a more likely event with BXT DSI, although care should be taken not to
call the function for DSI.
Signed-off-by: Jani Nikula <
[email protected]
>
Signed-off-by: Daniel Vetter <
[email protected]
>
drivers/gpu/drm/i915/intel_ddi.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_ddi.c
b/drivers/gpu/drm/i915/intel_ddi.c
index 0e46679fde5a0a50eabb526cc3b70a3ddd522fd0..fdcb4562c8cea30e21427afc5fbcce65fe84960d 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_ddi.c
+++ b/
drivers/gpu/drm/i915/intel_ddi.c
@@
-322,8
+322,7
@@
static void ddi_get_encoder_port(struct intel_encoder *intel_encoder,
*dig_port = NULL;
*port = PORT_E;
} else {
- DRM_ERROR("Invalid DDI encoder type %d\n", type);
- BUG();
+ WARN(1, "Invalid DDI encoder type %d\n", type);
}
}