[PATCH] drm/amdgpu: Add kernel parameter to manage memory error handling.

Michel Dänzer michel at daenzer.net
Thu Apr 13 01:17:06 UTC 2017


On 13/04/17 02:38 AM, Panariti, David wrote:
>> From: Michel Dänzer [mailto:michel at daenzer.net]
>> 
>>> @@ -212,6 +213,9 @@ module_param_named(cg_mask,
>> amdgpu_cg_mask, uint,
>>> 0444);  MODULE_PARM_DESC(pg_mask, "Powergating flags mask (0 =
>> disable
>>> power gating)");  module_param_named(pg_mask, amdgpu_pg_mask,
>> uint,
>>> 0444);
>>> 
>>> +MODULE_PARM_DESC(ecc_mask, "ECC/EDC flags mask (0 = disable 
>>> +ECC/EDC)");
>> 
>> "0 = disable ECC/EDC" implies that they're enabled by default? Was
>> that already the case before this patch?
> 
> [davep] Yes it was, and there was actually a problem in some cases
> where the CZ would hang which is why I added the param. I was
> wondering if it would be better to default to them being off, but I
> wasn't sure how important maintaining original behavior is
> considered. Actually, there are some bugs in the workaround function
> as it is, so it really should default to off.

I agree. There have been some bug reports about Carrizo hangs, I wonder
if any of those might be related to this.


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the amd-gfx mailing list