diff options
| author | Jun Lei <[email protected]> | 2018-11-23 20:21:02 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-01-14 20:04:37 +0000 |
| commit | 04a789bef315a3ed64f296fab21be3933405ea43 (patch) | |
| tree | 5e1c25990ac0959021c4dc09dab77651ba5e5e2e /drivers/gpu/drm/amd/display/modules/freesync/freesync.c | |
| parent | drm/amd/display: update DCN dml calcs (diff) | |
| download | kernel-04a789bef315a3ed64f296fab21be3933405ea43.tar.gz kernel-04a789bef315a3ed64f296fab21be3933405ea43.zip | |
drm/amd/display: add stream ID and otg instance in dc_stream_state
[why]
stream ID allows DMs to avoid memory address comparisons to compare
stream equality.
otg_instance allows DC to more rigorously define when otg_instance
can change. specifically, it is now defined to be only mutable when dc_stream_state
changes. This is better than a "get status" function which prevents efficient
caching of otherwise very stable information.
[how]
stream ID follows similar pattern to sink ID, which is already implemented
otg_instance is an output which occurs on all dc_stream modification functions
Signed-off-by: Jun Lei <[email protected]>
Reviewed-by: Tony Cheng <[email protected]>
Acked-by: Aric Cyr <[email protected]>
Acked-by: Leo Li <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/freesync/freesync.c')
0 files changed, 0 insertions, 0 deletions
