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:
4c6530f
)
drm/amd/display: Do not limit color depth to 8bpc
author
Mikita Lipski
<
[email protected]
>
Wed, 16 May 2018 20:46:18 +0000
(16:46 -0400)
committer
Alex Deucher
<
[email protected]
>
Tue, 29 May 2018 18:18:53 +0000
(13:18 -0500)
Delete if statement that would force any display's color depth higher
than 8 bpc to 8
Signed-off-by: Mikita Lipski <
[email protected]
>
Reviewed-by: Harry Wentland <
[email protected]
>
Signed-off-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
index 1ce10bc2d37bd1c2628c458d727f475a8723f967..52e57b52cdbb98be817c634e20e921ae3cab7ac4 100644
(file)
--- a/
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+++ b/
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
@@
-2095,12
+2095,6
@@
convert_color_depth_from_display_info(const struct drm_connector *connector)
{
uint32_t bpc = connector->display_info.bpc;
- /* Limited color depth to 8bit
- * TODO: Still need to handle deep color
- */
- if (bpc > 8)
- bpc = 8;
-
switch (bpc) {
case 0:
/* Temporary Work around, DRM don't parse color depth for