Arthur Grillo
4d3ed63264
drm/amd/display: Remove unused local variables
...
Remove local variables that were just set but were never used. This
decrease the number of -Wunused-but-set-variable warnings.
Acked-by: Christian König <christian.koenig@amd.com >
Signed-off-by: Arthur Grillo <arthurgrillo@riseup.net >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2023-02-23 17:36:00 -05:00
Michael Strauss
18b4f1a022
drm/amd/display: Add VPG and AFMT low power support for DCN3.1
...
[WHY]
Power down VPG and AFMT blocks when not in use
[HOW]
Create afmt31 and vpg31 structs and add necessary fields to reg list
Reviewed-by: Eric Yang <eric.yang2@amd.com >
Acked-by: Mikita Lipski <mikita.lipski@amd.com >
Signed-off-by: Michael Strauss <michael.strauss@amd.com >
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2021-09-14 15:57:11 -04:00
Eric Bernstein
06d55ffaea
drm/amd/display: Move common speakersToChannels definition to hw_shared.h
...
Signed-off-by: Eric Bernstein <eric.bernstein@amd.com >
Acked-by: Bindu Ramamurthy <bindu.r@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2020-11-10 14:25:15 -05:00
Bhawanpreet Lakha
73de3de5bc
drm/amd/display: Add DCN3 AFMT
...
Audio formating
Audio related code for setup/control
Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2020-07-01 01:59:15 -04:00