[Freedreno] [PATCH] drm/msm/a5xx: Always set an OPP supported hardware value

Eric Anholt eric at anholt.net
Tue Feb 18 21:58:39 UTC 2020


On Fri, Feb 14, 2020 at 10:36 AM Jordan Crouse <jcrouse at codeaurora.org> wrote:
>
> If the opp table specifies opp-supported-hw as a property but the driver
> has not set a supported hardware value the OPP subsystem will reject
> all the table entries.
>
> Set a "default" value that will match the default table entries but not
> conflict with any possible real bin values. Also fix a small memory leak
> and free the buffer allocated by nvmem_cell_read().
>
> Signed-off-by: Jordan Crouse <jcrouse at codeaurora.org>

This does fix my warn at boot on db820c.

Reviewed-by: Eric Anholt <eric at anholt.net>


More information about the Freedreno mailing list