diff options
author | 2018-11-23 15:21:02 -0500 | |
---|---|---|
committer | 2019-01-14 15:04:37 -0500 | |
commit | 04a789bef315a3ed64f296fab21be3933405ea43 (patch) | |
tree | 5e1c25990ac0959021c4dc09dab77651ba5e5e2e /drivers/gpu/drm/amd/amdgpu/tonga_ih.c | |
parent | drm/amd/display: update DCN dml calcs (diff) | |
download | wireguard-linux-04a789bef315a3ed64f296fab21be3933405ea43.tar.xz wireguard-linux-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 <Jun.Lei@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/tonga_ih.c')
0 files changed, 0 insertions, 0 deletions