kgsl_pwrscale.h requires governor.h which is not found in this source tree but only in upstream drivers/devfreq/governor.h, which is not a public header. This makes KGSL fail to build when building in a DLKM/DKMS environment, where only public kernel headers are available, not the entire kernel source tree.
@lumag suggests:
I see two options:
- export header necessary to provide governor implementation
- use simple_ondemand governor and instead use devfreq_dev_profile in order to supply target frequency info.