diff mbox

[Bug,61941] Random GPU lockups/resets on Mobility Radeon HD 3650 with radeon.dpm=1

Message ID bug-61941-2300-aTsadMqjDa@https.bugzilla.kernel.org/ (mailing list archive)
State New, archived
Headers show

Commit Message

bugzilla-daemon@bugzilla.kernel.org Sept. 23, 2013, 10:15 p.m. UTC
https://bugzilla.kernel.org/show_bug.cgi?id=61941

Alex Deucher <alexdeucher@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alexdeucher@gmail.com

--- Comment #3 from Alex Deucher <alexdeucher@gmail.com> ---
Do you only get the lockups with dpm enabled?  If so, try disabling certain dpm
features and see if any of them help.  See if you can narrow down which if any
of them help.  E.g.,

        pi->sclk_ss = radeon_atombios_get_asic_ss_info(rdev, &ss,
                                                       ASIC_INTERNAL_ENGINE_SS,
0);
@@ -1993,13 +1993,14 @@ int rv6xx_dpm_init(struct radeon_device *rdev)

        /* Disable sclk ss, causes hangs on a lot of systems */
        pi->sclk_ss = false;
+       pi->mclk_ss = false;

        if (pi->sclk_ss || pi->mclk_ss)
                pi->dynamic_ss = true;
        else
                pi->dynamic_ss = false;

-       pi->dynamic_pcie_gen2 = true;
+       pi->dynamic_pcie_gen2 = false;

        if (pi->gfx_clock_gating &&
            (rdev->pm.int_thermal_type != THERMAL_TYPE_NONE))
diff mbox

Patch

diff --git a/drivers/gpu/drm/radeon/rv6xx_dpm.c
b/drivers/gpu/drm/radeon/rv6xx_dpm.c
index 5811d27..13c5267 100644
--- a/drivers/gpu/drm/radeon/rv6xx_dpm.c
+++ b/drivers/gpu/drm/radeon/rv6xx_dpm.c
@@ -1981,10 +1981,10 @@  int rv6xx_dpm_init(struct radeon_device *rdev)
        else
                pi->fb_div_scale = 0;

-       pi->voltage_control =
-               radeon_atom_is_voltage_gpio(rdev, SET_VOLTAGE_TYPE_ASIC_VDDC,
0);
+       pi->voltage_control = false;
+//             radeon_atom_is_voltage_gpio(rdev, SET_VOLTAGE_TYPE_ASIC_VDDC,
0);

-       pi->gfx_clock_gating = true;
+       pi->gfx_clock_gating = false;