OSDN Git Service

drm/amd/display: Don't enable AFMT for DP audio stream
authorMichael Strauss <michael.strauss@amd.com>
Mon, 13 Sep 2021 17:47:13 +0000 (13:47 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Sep 2021 13:30:09 +0000 (09:30 -0400)
commitb089ebaaddb0883bae9a1a28401ae9fadc39a83b
tree14b5cb7430a0db88c586d845d286e42191a05fb7
parentbf72ca73aaa6629568cb9b0761be6efdd02a2591
drm/amd/display: Don't enable AFMT for DP audio stream

[WHY]
AFMT is unused for DP audio, so powering it on for DP is unnecessary.

[HOW]
APG block should be powered down instead, however HW defaults to shutdown
state when not enabled so no further work is required.

Reviewed-by: Wenjing Liu <wenjing.liu@amd.com>
Acked-by: Anson Jacob <Anson.Jacob@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>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_dio_stream_encoder.c