diff options
author | Wenjing Liu <[email protected]> | 2022-01-19 16:24:39 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2022-01-25 18:00:34 -0500 |
commit | 5279e091616b74ff0e4a24e220e0552b10d88d46 (patch) | |
tree | bd53bb45f98fd99c88e1483a4626307137867354 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | |
parent | d9eb8fea6862e63421f7b9c93e32bef348488c41 (diff) |
drm/amd/display: abstract encoder related hwseq across different types
[why]
Current we have hundreds of if/else or switch statement to check
encoder type in dc_link level. The reason is because depending
on the type of encoder dc_link needs to perform similar programming
task but with different encoder interfaces. The story is to abstract
these interfaces so dc_link can just perform the programming task
without knowing the detail of which encoder it's dealing with.
Tested-by: Daniel Wheeler <[email protected]>
Reviewed-by: Aric Cyr <[email protected]>
Acked-by: Rodrigo Siqueira <[email protected]>
Signed-off-by: Wenjing Liu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions