amd / xdna-driver

Other
324 stars 42 forks source link

Turn on the SMU before setting the clks #279

Closed vengutta18 closed 1 month ago

vengutta18 commented 1 month ago

For NPU1 there are two revisions that uses different DPM tables. So we are using set clk and retrieving it to decide the revision. But, without turning on the SMU we won't be able to read the proper clk values, so fix that up.