[PATCH 1/2] drm/radeon/kms/r600+: do not set the same voltage as current one

Alex Deucher alexdeucher at gmail.com
Mon Jun 7 09:38:00 PDT 2010


2010/6/7 Rafał Miłecki <zajec5 at gmail.com>:
> W dniu 7 czerwca 2010 18:24 użytkownik Alex Deucher
> <alexdeucher at gmail.com> napisał:
>> Only VOLTAGE_SW uses current_vddc so it's irrelevant for other voltage types.
>
> I introduced displaying this value in radeom_pm_info debugfs in next patch.

It should be set to 0 by default unless the asic supports VOLTAGE_SW,
in which case, it will have a valid value.   Other voltage types don't
have any way of getting the actual voltage value; they use either
either a low/high toggle or an index.  So for debugfs, you can either
only expose it for VOLTAGE_SW type or just have it always be 0 for
other voltage types.

Alex


More information about the dri-devel mailing list