Hello,
I try strip all the not needed config to do server kernel, when I drop CONFIG_GPU_THERMAL, I have:
drivers/amlogic/thermal/aml_thermal_hw.c: In function 'aml_thermal_min_update':
drivers/amlogic/thermal/aml_thermal_hw.c:84:22: error: dereferencing pointer to incomplete type 'struct gpufreq_cooling_device'
Cheers,