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)
commit97ae9b967517ad5aac265a9966d8ebfc9ee450d2
treeaf4d3efe7b5e2e7a01f41621bee745e4e0d4ab5b
parent02ce5a799aae6519a6f6183a6a9773e3564f7584
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