[Bug 79071] Hang with dpm radeon hd 5750, pcie 1.1 motherboard

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Sat Jun 28 12:02:46 PDT 2014


https://bugzilla.kernel.org/show_bug.cgi?id=79071

Dieter Nützel <Dieter at nuetzel-hh.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Dieter at nuetzel-hh.de

--- Comment #4 from Dieter Nützel <Dieter at nuetzel-hh.de> ---
(In reply to Jonathan Howard from comment #3)
> i fixed it.
> 
> diff --git a/drivers/gpu/drm/radeon/cypress_dpm.c
> b/drivers/gpu/drm/radeon/cypress_dpm.c
> index cf783fc..cf77719 100644
> --- a/drivers/gpu/drm/radeon/cypress_dpm.c
> +++ b/drivers/gpu/drm/radeon/cypress_dpm.c
> @@ -1551,7 +1551,7 @@ int cypress_populate_smc_voltage_tables(struct
> radeon_device *rdev,
>  
>                
> table->voltageMaskTable.highMask[RV770_SMC_VOLTAGEMASK_VDDCI] = 0;
>                 table->voltageMaskTable.lowMask[RV770_SMC_VOLTAGEMASK_VDDCI]
> =
> -                       cpu_to_be32(eg_pi->vddc_voltage_table.mask_low);
> +                       cpu_to_be32(eg_pi->vddci_voltage_table.mask_low);
>         }
>  
>         return 0;

Good catch Jonathan!

It seems to me, that this is NEEDED in ni_dpm.c, too (copy paste thing?)
si_dpm.c IS OK.

--- ni_dpm.c.orig       2014-06-22 07:02:54.000000000 +0200
+++ ni_dpm.c    2014-06-28 20:58:02.972099242 +0200
@@ -1315,7 +1315,7 @@

               
table->voltageMaskTable.highMask[NISLANDS_SMC_VOLTAGEMASK_VDDCI] = 0;
                table->voltageMaskTable.lowMask[NISLANDS_SMC_VOLTAGEMASK_VDDCI]
=
-                       cpu_to_be32(eg_pi->vddc_voltage_table.mask_low);
+                       cpu_to_be32(eg_pi->vddci_voltage_table.mask_low);
        }
 }

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the dri-devel mailing list