Rx vega m gl undervolt and overclock pp_od_clk_voltage values cannot be changed using echo

Bug #1861633 reported by James
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linux
Fix Released
Unknown
linux (Ubuntu)
New
Wishlist
Unassigned

Bug Description

GPU=Rx vega m gl
Release=Focal, 20.04 (development)
xserver-xorg-video-amdgpu version=19.1.0-1 (active development)

/sys/class/drm/card1/device/pp_od_clk_voltage cannot be change beyond the parameters stated at the bottom of this file within the title OD_RANGE, as follows:

OD_RANGE:
SCLK: 225MHz 1011MHz
MCLK: 300MHz 700MHz
VDDC: 750mV 750mV

The parameters in OD_RANGE are too constrictive and do not allow practicable overclocking/undervolting. Please could these values be changed to the following?:

OD_RANGE:
SCLK: 225MHz 1500MHz
MCLK: 300MHz 850MHz
VDDC: 300mV 1500mV

This bug was also found here;
https://gitlab.freedesktop.org/drm/amd/issues/574

The voltages and clock speeds cannot be amended above 1011Mhz, the HBM2 cannot exceed 700MHz and all voltages can only equal 750mV.

Tags: focal amdgpu
James (james9575)
description: updated
Revision history for this message
James (james9575) wrote :

Following my previous post I have amended the above, to reflect that values can be changed, but only within constrictive ranges. Please amend these ranges to allow overclocking and undervolting.

description: updated
James (james9575)
description: updated
tags: added: focal
Changed in linux:
status: Unknown → New
Revision history for this message
James (james9575) wrote :

I have done some searching around and each of the OD_RANGE parameters, as they appear in PP_OD_CLK_VOLTAGE seem to be defined in lines 4495 to 4506 of linux/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c as follows:

linux/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c

As copied from file:
""
 case OD_RANGE:
  if (hwmgr->od_enabled) {
   size = sprintf(buf, "%s:\n", "OD_RANGE");
   size += sprintf(buf + size, "SCLK: %7uMHz %10uMHz\n",
    data->golden_dpm_table.sclk_table.dpm_levels[0].value/100,
    hwmgr->platform_descriptor.overdriveLimit.engineClock/100);
   size += sprintf(buf + size, "MCLK: %7uMHz %10uMHz\n",
    data->golden_dpm_table.mclk_table.dpm_levels[0].value/100,
    hwmgr->platform_descriptor.overdriveLimit.memoryClock/100);
   size += sprintf(buf + size, "VDDC: %7umV %11umV\n",
    data->odn_dpm_table.min_vddc,
    data->odn_dpm_table.max_vddc);
""

Hope this helps

no longer affects: xserver-xorg-video-amdgpu (Ubuntu)
tags: added: amdgpu
Changed in linux (Ubuntu):
importance: Undecided → Wishlist
Changed in linux:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.