diff options
| author | Ken Chalmers <[email protected]> | 2018-06-27 12:48:21 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-07-13 14:52:00 -0500 |
| commit | ece4147fea152fe0761d67b825fb4b4b9f94349b (patch) | |
| tree | 8fbc3f6628f581b2c3da8058c8b9da5fe4334dfd /tools/perf/scripts/python/bin | |
| parent | 245524d9b827e184de1a23aff24c7872fed04cdb (diff) | |
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 <[email protected]>
Reviewed-by: Charlene Liu <[email protected]>
Acked-by: Harry Wentland <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions