linux/drivers/gpu/drm/amd
Ken Chalmers ece4147fea drm/amd/display: Fix new stream count check in dc_add_stream_to_ctx
[Why]
The previous code could allow through attempts to enable more streams
than there are timing generators, in designs where the number of pipes
is greater than the number of timing generators.

[How]
Compare the new stream count to the resource pool's timing generator
count, instead of its pipe count.  Also correct a typo in the error
message.

Signed-off-by: Ken Chalmers <ken.chalmers@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2018-07-13 14:52:00 -05:00
..
acp drm/amdgpu: Remove wrapper layer of cgs irq handling 2018-03-21 14:36:58 -05:00
amdgpu drm/amdgpu: Warn and update pin_size values when destroying a pinned BO 2018-07-13 14:46:28 -05:00
amdkfd Merge tag 'drm-amdkfd-next-2018-05-14' of git://people.freedesktop.org/~gabbayo/linux into drm-next 2018-05-15 16:06:08 +10:00
display drm/amd/display: Fix new stream count check in dc_add_stream_to_ctx 2018-07-13 14:52:00 -05:00
include drm/amd: Add interrupt source definitions for SOC15 v3. 2018-07-13 14:45:37 -05:00
lib drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
powerplay drm/amd: Use newly added interrupt source defs for SOC15. 2018-07-13 14:45:43 -05:00