Skip to content

Depends on internal kernel header governor.h #11

@basak-qcom

Description

@basak-qcom

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions