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:
13f62f5
)
drm/amdgpu: add more cases to DCE11 possible crtc mask setup
author
Alex Deucher
<
[email protected]
>
Fri, 10 Feb 2017 05:00:52 +0000
(
00:00
-0500)
committer
Alex Deucher
<
[email protected]
>
Fri, 10 Feb 2017 17:07:33 +0000
(12:07 -0500)
Add cases for asics with 3 and 5 crtcs. Fixes an artificial
limitation on asics with 3 or 5 crtcs.
Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=99744
Reviewed-by: Michel Dänzer <
[email protected]
>
Reviewed-by: Christian König <
[email protected]
>
Signed-off-by: Alex Deucher <
[email protected]
>
Cc:
[email protected]
drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
b/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
index 1cf1d9d1aec1348e08b2c83add375d7616be7b98..5b24e89552ec4533f6b3ae6624d2a89063ef7aed 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
+++ b/
drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
@@
-3737,9
+3737,15
@@
static void dce_v11_0_encoder_add(struct amdgpu_device *adev,
default:
encoder->possible_crtcs = 0x3;
break;
+ case 3:
+ encoder->possible_crtcs = 0x7;
+ break;
case 4:
encoder->possible_crtcs = 0xf;
break;
+ case 5:
+ encoder->possible_crtcs = 0x1f;
+ break;
case 6:
encoder->possible_crtcs = 0x3f;
break;