[Intel-gfx] [PATCH 4.1, 4.2] drm/i915: Silence DDR DVFS errors on CHV
Jani Nikula
jani.nikula at linux.intel.com
Mon Oct 19 01:02:35 PDT 2015
On Sat, 17 Oct 2015, Greg KH <gregkh at linuxfoundation.org> wrote:
> On Mon, Sep 28, 2015 at 10:09:11PM +0300, ville.syrjala at linux.intel.com wrote:
>> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
>>
>> commit 58590c14d80defc94e900308a9d8fa55284de6f2 upstream.
>
> This is not the commit id of the patch below at all, I can't take this,
> please be more careful in the future.
Greg, the commit message tries (and apparently fails) to explain that we
can't really backport all of the commits to fix this properly.
The referenced upstream commit looks totally different because it
prevents us from entering the failing path to begin with. Since we can't
do that in stable, Ville was proposing to just the tune down the error
message, referencing the commit that gets rid of the error message
upstream.
Was this just a communication failure, or do you think this is still
against the stable kernel rules?
BR,
Jani.
>
> thanks,
>
> greg k-h
>
>>
>> 58590c1 drm/i915: Don't try to use DDR DVFS on CHV when disabled in the BIOS
>> can't be backported as is because proper DDR DVFS support didn't even
>> exist before
>> 6f9c784 drm/i915: Don't do PM5/DDR DVFS with multiple pipes
>>
>> However we still want to get rid of the error messages. The simplest thing
>> is to just suppress them, so let's do that instead.
>>
>> Cc: <stable at vger.kernel.org> # 4.1, 4.2
>> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
>> ---
>> drivers/gpu/drm/i915/intel_pm.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
>> index eadc15c..4a904f2 100644
>> --- a/drivers/gpu/drm/i915/intel_pm.c
>> +++ b/drivers/gpu/drm/i915/intel_pm.c
>> @@ -303,7 +303,7 @@ static void chv_set_memory_dvfs(struct drm_i915_private *dev_priv, bool enable)
>>
>> if (wait_for((vlv_punit_read(dev_priv, PUNIT_REG_DDR_SETUP2) &
>> FORCE_DDR_FREQ_REQ_ACK) == 0, 3))
>> - DRM_ERROR("timed out waiting for Punit DDR DVFS request\n");
>> + DRM_DEBUG_DRIVER("timed out waiting for Punit DDR DVFS request\n");
>>
>> mutex_unlock(&dev_priv->rps.hw_lock);
>> }
>> --
>> 2.4.6
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe stable" in
>> the body of a message to majordomo at vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
--
Jani Nikula, Intel Open Source Technology Center
More information about the Intel-gfx
mailing list