The GPU GX domain on SDM845 is nominally managed by the GMU microcontroller but there are certain circumstances when the CPU needs to be sure that the GX headswitch is off. This RFC series adds a special modification for the GX power domain that always returns success for domain power on and uses the default gdsc functions for power down. With this, we should be able to remove most of GX clocks from the gpucc and have a relatively clean way of handling the hardware workaround. This is based on the series from [1] with some slight changes for the current for-next from Andy. [1] https://patchwork.kernel.org/patch/10563887/ Jordan Crouse (4): drm/msm/a6xx: Remove unwanted regulator code clk: qcom: gdsc: Don't override existing gdsc pd functions clk: qcom: Add a dummy enable function for GX gdsc drm/msm/gpu: Attach to the GPU GX power domain drivers/clk/qcom/gdsc.c | 6 ++-- drivers/clk/qcom/gpucc-sdm845.c | 30 ++++++++++++++++--- drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 43 ++++++++++++++++++++++++--- drivers/gpu/drm/msm/adreno/a6xx_gmu.h | 4 +-- 4 files changed, 71 insertions(+), 12 deletions(-) -- 2.18.0