]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Remove OPP clock programming on plane disable
authorJoshua Aberback <joshua.aberback@amd.com>
Tue, 23 Apr 2019 20:50:50 +0000 (16:50 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 22 Jun 2019 14:34:11 +0000 (09:34 -0500)
commit1082ceb6bdc2e71bd72573f2a13bcde2cbd38d5b
treeaf4d3efe7b5e2e7a01f41621bee745e4e0d4ab5b
parent332cdd3c54a3adbc044e12eb627130deacf31312
drm/amd/display: Remove OPP clock programming on plane disable

[Why]
Plane disable gets calls when we enable blank. On DCN2, we blank by using
DPG to display a black colour instead of using OTG blank. DPG runs off the
OPP clock, therefore we shouldn't disable the OPP clock when disabling the
plane. We do need to disable the OPP clock when disabling the entire pipe,
that will be addressed in a separate commit.

Signed-off-by: Joshua Aberback <joshua.aberback@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c