[Intel-gfx] [PATCH] drm/i915: Disable WaGsvRC0ResidencyMethod for vlv

Deepak S deepak.s at linux.intel.com
Thu Mar 19 04:53:39 PDT 2015



On Thursday 19 March 2015 04:48 PM, Ville Syrjälä wrote:
> On Thu, Mar 19, 2015 at 04:09:44PM +0530, deepak.s at linux.intel.com wrote:
>> From: Deepak S <deepak.s at linux.intel.com>
>>
>> Unfortunately WaGsvRC0ResidencyMethod causing system freeze on some
>> of the baytrail systems :(. Switching back to legacy mode rps.
> Do we want to throw out the actual code as well then?
>
Chris as cleaned up patches for VLV rps WA. I think its worth a try

>> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88012
>> Signed-off-by: Deepak S <deepak.s at linux.intel.com>
>> ---
>>   drivers/gpu/drm/i915/i915_irq.c | 6 +-----
>>   1 file changed, 1 insertion(+), 5 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
>> index 6d8340d..7bbdede 100644
>> --- a/drivers/gpu/drm/i915/i915_irq.c
>> +++ b/drivers/gpu/drm/i915/i915_irq.c
>> @@ -4241,11 +4241,7 @@ void intel_irq_init(struct drm_i915_private *dev_priv)
>>   	INIT_WORK(&dev_priv->l3_parity.error_work, ivybridge_parity_work);
>>   
>>   	/* Let's track the enabled rps events */
>> -	if (IS_VALLEYVIEW(dev_priv) && !IS_CHERRYVIEW(dev_priv))
>> -		/* WaGsvRC0ResidencyMethod:vlv */
>> -		dev_priv->pm_rps_events = GEN6_PM_RP_DOWN_EI_EXPIRED | GEN6_PM_RP_UP_EI_EXPIRED;
>> -	else
>> -		dev_priv->pm_rps_events = GEN6_PM_RPS_EVENTS;
>> +	dev_priv->pm_rps_events = GEN6_PM_RPS_EVENTS;
>>   
>>   	INIT_DELAYED_WORK(&dev_priv->gpu_error.hangcheck_work,
>>   			  i915_hangcheck_elapsed);
>> -- 
>> 1.9.1



More information about the Intel-gfx mailing list