]> 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)
commit9d81a3089045c0673ba7a73c08a5bfea16c6226e
treeaf4d3efe7b5e2e7a01f41621bee745e4e0d4ab5b
parentd13b014342e38735e34d5143960a442c436f495d
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