drm/i915/vlv: drop punit freq staus read after setting idle
Subsystems (2)
PATCH 1/1 drm/i915/vlv: drop punit freq staus read after setting idle
This may take awhile (~10ms), and we don't need to make noise about it.
References: https://bugs.freedesktop.org/show_bug.cgi?id=75244
--- drivers/gpu/drm/i915/intel_pm.c | 4 ---- 1 file changed, 4 deletions(-)
drivers/gpu/drm/i915/intel_pm.c +0 -4
@@ -3227,10 +3227,6 @@ static void vlv_set_rps_idle(struct drm_i915_private *dev_priv)vlv_punit_write (dev_priv,PUNIT_REG_GPU_FREQ_REQ , dev_priv->rps.min_freq_softlimit); -if (wait_for (((vlv_punit_read (dev_priv,PUNIT_REG_GPU_FREQ_STS )) - &GENFREQSTATUS ) ==0 ,5 )) -DRM_ERROR ("timed out waiting for Punit\n" ); -vlv_force_gfx_clock (dev_priv, false); I915_WRITE(GEN6_PMINTRMSK,
Signature · 1 line
1.8.3.2
Quoted 14 lines · Jesse Barnes
This may take awhile (~10ms), and we don't need to make noise about it.
References: https://bugs.freedesktop.org/show_bug.cgi?id=75244
Tested-by [email protected]Signed-off-by Jesse Barnes <[email protected]>--- drivers/gpu/drm/i915/intel_pm.c | 4 ---- 1 file changed, 4 deletions(-)drivers/gpu/drm/i915/intel_pm.c +0
-0
drivers/gpu/drm/i915/intel_pm.c static void vlv_set_rps_idle(struct drm_i915_private *dev_priv) · line 3233
Quoted 7 lines
drivers/gpu/drm/i915/intel_pm.c +0
-4@@ -3227,10 +3227,6 @@ static void vlv_set_rps_idle(struct drm_i915_private *dev_priv)vlv_punit_write (dev_priv,PUNIT_REG_GPU_FREQ_REQ , dev_priv->rps.min_freq_softlimit); -if (wait_for (((vlv_punit_read (dev_priv,PUNIT_REG_GPU_FREQ_STS )) - &GENFREQSTATUS ) ==0 ,5 )) -DRM_ERROR ("timed out waiting for Punit\n" ); -
As I recall the entire point of this was to make sure the frequency really drops before we allow turning off the clock. I'm not sure if we can trust that the frequency (and more importantly the voltage) will drop if we allow turning off the clock before the transition is complete.
Quoted 10 lines
drivers/gpu/drm/i915/intel_pm.c +0
-0vlv_force_gfx_clock (dev_priv, false); I915_WRITE(GEN6_PMINTRMSK,Signature · 6 lines
1.8.3.2 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 2 lines
Ville Syrjälä Intel OTC
Quoted 18 lines · On Fri, 6 Jun 2014 11:29:24 +0300 Ville Syrjälä…
Quoted 17 lines · Jesse Barnes
This may take awhile (~10ms), and we don't need to make noise about it.
References: https://bugs.freedesktop.org/show_bug.cgi?id=75244
Tested-by [email protected]Signed-off-by Jesse Barnes <[email protected]>--- drivers/gpu/drm/i915/intel_pm.c | 4 ---- 1 file changed, 4 deletions(-)drivers/gpu/drm/i915/intel_pm.c +0
-0@@ -3227,10 +3227,6 @@ static void vlv_set_rps_idle(struct drm_i915_private *dev_priv)vlv_punit_write (dev_priv,PUNIT_REG_GPU_FREQ_REQ , dev_priv->rps.min_freq_softlimit);
Quoted 10 lines
drivers/gpu/drm/i915/intel_pm.c static void vlv_set_rps_idle(struct drm_i915_private *dev_priv) · line 3233
Quoted 4 lines
drivers/gpu/drm/i915/intel_pm.c +0
-4-if (wait_for (((vlv_punit_read (dev_priv,PUNIT_REG_GPU_FREQ_STS )) - &GENFREQSTATUS ) ==0 ,5 )) -DRM_ERROR ("timed out waiting for Punit\n" ); -As I recall the entire point of this was to make sure the frequency really drops before we allow turning off the clock. I'm not sure if we can trust that the frequency (and more importantly the voltage) will drop if we allow turning off the clock before the transition is complete.
well, we may need to increase the timeout then... let's see if that helps with the bug.
Signature · 5 lines
Jesse Barnes, Intel Open Source Technology Center _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 32 lines · Jesse Barnes
Quoted 18 lines · On Fri, 6 Jun 2014 11:29:24 +0300 Ville Syrjälä…
Quoted 17 lines · Jesse Barnes
This may take awhile (~10ms), and we don't need to make noise about it.
References: https://bugs.freedesktop.org/show_bug.cgi?id=75244
Tested-by [email protected]Signed-off-by Jesse Barnes <[email protected]>--- drivers/gpu/drm/i915/intel_pm.c | 4 ---- 1 file changed, 4 deletions(-)drivers/gpu/drm/i915/intel_pm.c +0
-0@@ -3227,10 +3227,6 @@ static void vlv_set_rps_idle(struct drm_i915_private *dev_priv)vlv_punit_write (dev_priv,PUNIT_REG_GPU_FREQ_REQ , dev_priv->rps.min_freq_softlimit);Quoted 10 lines
drivers/gpu/drm/i915/intel_pm.c static void vlv_set_rps_idle(struct drm_i915_private *dev_priv) · line 3233
Quoted 4 lines
drivers/gpu/drm/i915/intel_pm.c +0
-4-if (wait_for (((vlv_punit_read (dev_priv,PUNIT_REG_GPU_FREQ_STS )) - &GENFREQSTATUS ) ==0 ,5 )) -DRM_ERROR ("timed out waiting for Punit\n" ); -As I recall the entire point of this was to make sure the frequency really drops before we allow turning off the clock. I'm not sure if we can trust that the frequency (and more importantly the voltage) will drop if we allow turning off the clock before the transition is complete.
Quoted 2 lines
well, we may need to increase the timeout then... let's see if that helps with the bug.
FYI I played around with my BYT a bit and it doesn't appear to require this "force gfx clock on" part of the workaround.
I was polling VLV_GTLC_SURVIVABILITY_REG and VLV_GTLC_PW_STATUS to make sure both render and media wells and the gfx clock remain off, and I was also monitoring vnn via svid. While that was going on I just rewrote PUNIT_REG_GPU_FREQ_REQ to make Punit change the frequency, and sure enough it did, and svid showed me that vnn had also changed. So it appears there's no need to have the gfx clock on to change its frequency on this BYT.
I wonder if this part of the workaround was only needed on older parts. Deepak, any ideas?
Signature · 2 lines
Ville Syrjälä Intel OTC
Quoted 47 lines · Ville Syrjälä
Quoted 32 lines · Jesse Barnes
Quoted 18 lines · On Fri, 6 Jun 2014 11:29:24 +0300 Ville Syrjälä…
Quoted 17 lines · Jesse Barnes
This may take awhile (~10ms), and we don't need to make noise about it.
References: https://bugs.freedesktop.org/show_bug.cgi?id=75244
Tested-by [email protected]Signed-off-by Jesse Barnes <[email protected]>--- drivers/gpu/drm/i915/intel_pm.c | 4 ---- 1 file changed, 4 deletions(-)drivers/gpu/drm/i915/intel_pm.c +0
-0@@ -3227,10 +3227,6 @@ static void vlv_set_rps_idle(struct drm_i915_private *dev_priv)vlv_punit_write (dev_priv,PUNIT_REG_GPU_FREQ_REQ , dev_priv->rps.min_freq_softlimit);Quoted 10 lines
drivers/gpu/drm/i915/intel_pm.c static void vlv_set_rps_idle(struct drm_i915_private *dev_priv) · line 3233
Quoted 4 lines
drivers/gpu/drm/i915/intel_pm.c +0
-4-if (wait_for (((vlv_punit_read (dev_priv,PUNIT_REG_GPU_FREQ_STS )) - &GENFREQSTATUS ) ==0 ,5 )) -DRM_ERROR ("timed out waiting for Punit\n" ); -As I recall the entire point of this was to make sure the frequency really drops before we allow turning off the clock. I'm not sure if we can trust that the frequency (and more importantly the voltage) will drop if we allow turning off the clock before the transition is complete.
Quoted 2 lines
well, we may need to increase the timeout then... let's see if that helps with the bug.
FYI I played around with my BYT a bit and it doesn't appear to require this "force gfx clock on" part of the workaround.
I was polling
VLV_GTLC_SURVIVABILITY_REGandVLV_GTLC_PW_STATUSto make sure both render and media wells and the gfx clock remain off, and I was also monitoring vnn via svid. While that was going on I just rewrotePUNIT_REG_GPU_FREQ_REQto make Punit change the frequency, and sure enough it did, and svid showed me that vnn had also changed. So it appears there's no need to have the gfx clock on to change its frequency on this BYT.
Quoted 2 lines
I wonder if this part of the workaround was only needed on older parts. Deepak, any ideas?
Yes ville, this was added initial for older parts and force gfx clock was part of the workaround.
We have not verified this on newer parts. Let me check with hw guys to see if workaround still exits and when this was fixed.
Thanks
Deepak
Quoted 53 lines · Deepak
Quoted 47 lines · Ville Syrjälä
Quoted 32 lines · Jesse Barnes
Quoted 18 lines · On Fri, 6 Jun 2014 11:29:24 +0300 Ville Syrjälä…
Quoted 17 lines · Jesse Barnes
This may take awhile (~10ms), and we don't need to make noise about it.
References: https://bugs.freedesktop.org/show_bug.cgi?id=75244
Tested-by [email protected]Signed-off-by Jesse Barnes <[email protected]>--- drivers/gpu/drm/i915/intel_pm.c | 4 ---- 1 file changed, 4 deletions(-)drivers/gpu/drm/i915/intel_pm.c +0
-0@@ -3227,10 +3227,6 @@ static void vlv_set_rps_idle(struct drm_i915_private *dev_priv)vlv_punit_write (dev_priv,PUNIT_REG_GPU_FREQ_REQ , dev_priv->rps.min_freq_softlimit);Quoted 10 lines
drivers/gpu/drm/i915/intel_pm.c static void vlv_set_rps_idle(struct drm_i915_private *dev_priv) · line 3233
Quoted 4 lines
drivers/gpu/drm/i915/intel_pm.c +0
-4-if (wait_for (((vlv_punit_read (dev_priv,PUNIT_REG_GPU_FREQ_STS )) - &GENFREQSTATUS ) ==0 ,5 )) -DRM_ERROR ("timed out waiting for Punit\n" ); -As I recall the entire point of this was to make sure the frequency really drops before we allow turning off the clock. I'm not sure if we can trust that the frequency (and more importantly the voltage) will drop if we allow turning off the clock before the transition is complete.
Quoted 2 lines
well, we may need to increase the timeout then... let's see if that helps with the bug.
FYI I played around with my BYT a bit and it doesn't appear to require this "force gfx clock on" part of the workaround.
I was polling
VLV_GTLC_SURVIVABILITY_REGandVLV_GTLC_PW_STATUSto make sure both render and media wells and the gfx clock remain off, and I was also monitoring vnn via svid. While that was going on I just rewrotePUNIT_REG_GPU_FREQ_REQto make Punit change the frequency, and sure enough it did, and svid showed me that vnn had also changed. So it appears there's no need to have the gfx clock on to change its frequency on this BYT.Quoted 2 lines
I wonder if this part of the workaround was only needed on older parts. Deepak, any ideas?
Quoted 7 lines
Yes ville, this was added initial for older parts and force gfx clock was part of the workaround.
We have not verified this on newer parts. Let me check with hw guys to see if workaround still exits and when this was fixed.Thanks
Deepak
This is a bit side topic. In the vlv_set_rps_idle, it try to mask the turbo interrupt by writing to GEN6_PMINTRMSK (offset 0xA168). But based on the bspec, the PMIMR for BYT/GEN6 should be 0x44024 (GEN6_PMIMR).
Not sure I miss anything. If there offset is wrong, mean the turbo has not mask at all.
Regards,
Chon Ming
Quoted 4 lines
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 62 lines · Chon Ming
Quoted 53 lines · Deepak
Quoted 47 lines · Ville Syrjälä
Quoted 32 lines · Jesse Barnes
Quoted 18 lines · On Fri, 6 Jun 2014 11:29:24 +0300 Ville Syrjälä…
Quoted 17 lines · Jesse Barnes
This may take awhile (~10ms), and we don't need to make noise about it.
References: https://bugs.freedesktop.org/show_bug.cgi?id=75244
Tested-by [email protected]Signed-off-by Jesse Barnes <[email protected]>--- drivers/gpu/drm/i915/intel_pm.c | 4 ---- 1 file changed, 4 deletions(-)drivers/gpu/drm/i915/intel_pm.c +0
-0@@ -3227,10 +3227,6 @@ static void vlv_set_rps_idle(struct drm_i915_private *dev_priv)vlv_punit_write (dev_priv,PUNIT_REG_GPU_FREQ_REQ , dev_priv->rps.min_freq_softlimit);Quoted 10 lines
drivers/gpu/drm/i915/intel_pm.c static void vlv_set_rps_idle(struct drm_i915_private *dev_priv) · line 3233
Quoted 4 lines
drivers/gpu/drm/i915/intel_pm.c +0
-4-if (wait_for (((vlv_punit_read (dev_priv,PUNIT_REG_GPU_FREQ_STS )) - &GENFREQSTATUS ) ==0 ,5 )) -DRM_ERROR ("timed out waiting for Punit\n" ); -As I recall the entire point of this was to make sure the frequency really drops before we allow turning off the clock. I'm not sure if we can trust that the frequency (and more importantly the voltage) will drop if we allow turning off the clock before the transition is complete.
Quoted 2 lines
well, we may need to increase the timeout then... let's see if that helps with the bug.
FYI I played around with my BYT a bit and it doesn't appear to require this "force gfx clock on" part of the workaround.
I was polling
VLV_GTLC_SURVIVABILITY_REGandVLV_GTLC_PW_STATUSto make sure both render and media wells and the gfx clock remain off, and I was also monitoring vnn via svid. While that was going on I just rewrotePUNIT_REG_GPU_FREQ_REQto make Punit change the frequency, and sure enough it did, and svid showed me that vnn had also changed. So it appears there's no need to have the gfx clock on to change its frequency on this BYT.Quoted 2 lines
I wonder if this part of the workaround was only needed on older parts. Deepak, any ideas?
Quoted 7 lines
Yes ville, this was added initial for older parts and force gfx clock was part of the workaround.
We have not verified this on newer parts. Let me check with hw guys to see if workaround still exits and when this was fixed.Thanks
Deepak
Quoted 6 lines
This is a bit side topic. In the
vlv_set_rps_idle, it try to mask the turbo interrupt by writing toGEN6_PMINTRMSK(offset0xA168). But based on the bspec, the PMIMR for BYT/GEN6 should be0x44024(GEN6_PMIMR).Not sure I miss anything. If there offset is wrong, mean the turbo has not mask at all.
Afaik PM interrupt handling has 3 levels: GEN6_PMINTRMSK is the lowest and only provides a mask to prevent irq event forwarding, GEN6_PMI[IEMS]R are the normal set of 4 registers and then there's the PM interrupt bit in the DE interrupt registers.
Iirc masking in PMINTRMSK has power benefits, but I'm not sure. -Daniel
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch
Quoted 62 lines · Chon Ming
Quoted 53 lines · Deepak
Quoted 47 lines · Ville Syrjälä
Quoted 32 lines · Jesse Barnes
Quoted 18 lines · On Fri, 6 Jun 2014 11:29:24 +0300 Ville Syrjälä…
Quoted 17 lines · Jesse Barnes
This may take awhile (~10ms), and we don't need to make noise about it.
References: https://bugs.freedesktop.org/show_bug.cgi?id=75244
Tested-by [email protected]Signed-off-by Jesse Barnes <[email protected]>--- drivers/gpu/drm/i915/intel_pm.c | 4 ---- 1 file changed, 4 deletions(-)drivers/gpu/drm/i915/intel_pm.c +0
-0@@ -3227,10 +3227,6 @@ static void vlv_set_rps_idle(struct drm_i915_private *dev_priv)vlv_punit_write (dev_priv,PUNIT_REG_GPU_FREQ_REQ , dev_priv->rps.min_freq_softlimit);Quoted 10 lines
drivers/gpu/drm/i915/intel_pm.c static void vlv_set_rps_idle(struct drm_i915_private *dev_priv) · line 3233
Quoted 4 lines
drivers/gpu/drm/i915/intel_pm.c +0
-4-if (wait_for (((vlv_punit_read (dev_priv,PUNIT_REG_GPU_FREQ_STS )) - &GENFREQSTATUS ) ==0 ,5 )) -DRM_ERROR ("timed out waiting for Punit\n" ); -As I recall the entire point of this was to make sure the frequency really drops before we allow turning off the clock. I'm not sure if we can trust that the frequency (and more importantly the voltage) will drop if we allow turning off the clock before the transition is complete.
Quoted 2 lines
well, we may need to increase the timeout then... let's see if that helps with the bug.
FYI I played around with my BYT a bit and it doesn't appear to require this "force gfx clock on" part of the workaround.
I was polling
VLV_GTLC_SURVIVABILITY_REGandVLV_GTLC_PW_STATUSto make sure both render and media wells and the gfx clock remain off, and I was also monitoring vnn via svid. While that was going on I just rewrotePUNIT_REG_GPU_FREQ_REQto make Punit change the frequency, and sure enough it did, and svid showed me that vnn had also changed. So it appears there's no need to have the gfx clock on to change its frequency on this BYT.Quoted 2 lines
I wonder if this part of the workaround was only needed on older parts. Deepak, any ideas?
Quoted 7 lines
Yes ville, this was added initial for older parts and force gfx clock was part of the workaround.
We have not verified this on newer parts. Let me check with hw guys to see if workaround still exits and when this was fixed.Thanks
Deepak
Quoted 6 lines
This is a bit side topic. In the
vlv_set_rps_idle, it try to mask the turbo interrupt by writing toGEN6_PMINTRMSK(offset0xA168). But based on the bspec, the PMIMR for BYT/GEN6 should be0x44024(GEN6_PMIMR).Not sure I miss anything. If there offset is wrong, mean the turbo has not mask at all.
There are two mask registers for this stuff. PMINTRMSK is some kind of lower level mask, and GEN6_PMIMR is the regular interrupt mask. I believe masking the interrupt in PMINTRMSK prevents it from being visible in GEN6_PMISR even.
Signature · 2 lines
Ville Syrjälä Intel OTC
Quoted 67 lines · Ville Syrjälä
Quoted 66 lines · Chon Ming
Quoted 53 lines · Deepak
Quoted 47 lines · Ville Syrjälä
Quoted 32 lines · Jesse Barnes
Quoted 18 lines · On Fri, 6 Jun 2014 11:29:24 +0300 Ville Syrjälä…
Quoted 17 lines · Jesse Barnes
This may take awhile (~10ms), and we don't need to make noise about it.
References: https://bugs.freedesktop.org/show_bug.cgi?id=75244
Tested-by [email protected]Signed-off-by Jesse Barnes <[email protected]>--- drivers/gpu/drm/i915/intel_pm.c | 4 ---- 1 file changed, 4 deletions(-)drivers/gpu/drm/i915/intel_pm.c +0
-0@@ -3227,10 +3227,6 @@ static void vlv_set_rps_idle(struct drm_i915_private *dev_priv)vlv_punit_write (dev_priv,PUNIT_REG_GPU_FREQ_REQ , dev_priv->rps.min_freq_softlimit);Quoted 10 lines
drivers/gpu/drm/i915/intel_pm.c static void vlv_set_rps_idle(struct drm_i915_private *dev_priv) · line 3233
Quoted 4 lines
drivers/gpu/drm/i915/intel_pm.c +0
-4-if (wait_for (((vlv_punit_read (dev_priv,PUNIT_REG_GPU_FREQ_STS )) - &GENFREQSTATUS ) ==0 ,5 )) -DRM_ERROR ("timed out waiting for Punit\n" ); -As I recall the entire point of this was to make sure the frequency really drops before we allow turning off the clock. I'm not sure if we can trust that the frequency (and more importantly the voltage) will drop if we allow turning off the clock before the transition is complete.
Quoted 2 lines
well, we may need to increase the timeout then... let's see if that helps with the bug.
FYI I played around with my BYT a bit and it doesn't appear to require this "force gfx clock on" part of the workaround.
I was polling
VLV_GTLC_SURVIVABILITY_REGandVLV_GTLC_PW_STATUSto make sure both render and media wells and the gfx clock remain off, and I was also monitoring vnn via svid. While that was going on I just rewrotePUNIT_REG_GPU_FREQ_REQto make Punit change the frequency, and sure enough it did, and svid showed me that vnn had also changed. So it appears there's no need to have the gfx clock on to change its frequency on this BYT.Quoted 2 lines
I wonder if this part of the workaround was only needed on older parts. Deepak, any ideas?
Quoted 7 lines
Yes ville, this was added initial for older parts and force gfx clock was part of the workaround.
We have not verified this on newer parts. Let me check with hw guys to see if workaround still exits and when this was fixed.Thanks
DeepakThis is a bit side topic. In the
vlv_set_rps_idle, it try to mask the turbo interrupt by writing toGEN6_PMINTRMSK(offset0xA168). But based on the bspec, the PMIMR for BYT/GEN6 should be0x44024(GEN6_PMIMR).
Quoted 8 lines
Quoted 2 lines
Not sure I miss anything. If there offset is wrong, mean the turbo has not mask at all.
There are two mask registers for this stuff. PMINTRMSK is some kind of lower level mask, and
GEN6_PMIMRis the regular interrupt mask. I believe masking the interrupt in PMINTRMSK prevents it from being visible inGEN6_PMISReven.
Thanks for the info. Got that, we can't use GEN6PMIMR to mask interrupt, need to use PMINTRMSK.
Regards,
Chon Ming
Quoted 3 lines
Signature · 2 lines
Ville Syrjälä Intel OTC
Quoted 8 lines
Quoted 8 lines
I was polling
VLV_GTLC_SURVIVABILITY_REGandVLV_GTLC_PW_STATUSto make sure both render and media wells and the gfx clock remain off, and I was also monitoring vnn via svid. While that was going on I just rewrotePUNIT_REG_GPU_FREQ_REQto make Punit change the frequency, and sure enough it did, and svid showed me that vnn had also changed. So it appears there's no need to have the gfx clock on to change its frequency on this BYT.
Quoted 7 lines
Quoted 2 lines
I wonder if this part of the workaround was only needed on older parts. Deepak, any ideas?
Yes ville, this was added initial for older parts and force gfx clock was part of the workaround.
We have not verified this on newer parts. Let me check with hw guys to see if workaround still exits and when this was fixed.
Hi Ville, Got the confirmation from HW team, this WA as been fixed in latest stepping, we can remove the force gfx clock, mask and request only the min freq when we are idle.
You will submit patch will fix or you want me to do it?
Thanks
Deepak
Quoted 11 lines · Deepak
Quoted 11 lines
Quoted 10 lines
I was polling
VLV_GTLC_SURVIVABILITY_REGandVLV_GTLC_PW_STATUSto make sure both render and media wells and the gfx clock remain off, and I was also monitoring vnn via svid. While that was going on I just rewrotePUNIT_REG_GPU_FREQ_REQto make Punit change the frequency, and sure enough it did, and svid showed me that vnn had also changed. So it appears there's no need to have the gfx clock on to change its frequency on this BYT.I wonder if this part of the workaround was only needed on older parts. Deepak, any ideas?
Quoted 7 lines
Quoted 4 lines
Yes ville, this was added initial for older parts and force gfx clock was part of the workaround.
We have not verified this on newer parts. Let me check with hw guys to see if workaround still exits and when this was fixed.Hi Ville, Got the confirmation from HW team, this WA as been fixed in latest stepping,
What's latest here? Did we ever ship any of the steppings that still need the gfx clock force?
Quoted 4 lines
we can remove the force gfx clock, mask and request only the min freq when we are idle.
You will submit patch will fix or you want me to do it?
Go ahead if you have time. I'm already juggling too many things :)
Signature · 2 lines
Ville Syrjälä Intel OTC
Quoted 23 lines · Ville Syrjälä
Quoted 11 lines · Deepak
Quoted 11 lines
Quoted 10 lines
I was polling
VLV_GTLC_SURVIVABILITY_REGandVLV_GTLC_PW_STATUSto make sure both render and media wells and the gfx clock remain off, and I was also monitoring vnn via svid. While that was going on I just rewrotePUNIT_REG_GPU_FREQ_REQto make Punit change the frequency, and sure enough it did, and svid showed me that vnn had also changed. So it appears there's no need to have the gfx clock on to change its frequency on this BYT.I wonder if this part of the workaround was only needed on older parts. Deepak, any ideas?
Quoted 7 lines
Quoted 4 lines
Yes ville, this was added initial for older parts and force gfx clock was part of the workaround.
We have not verified this on newer parts. Let me check with hw guys to see if workaround still exits and when this was fixed.Hi Ville, Got the confirmation from HW team, this WA as been fixed in latest stepping,
What's latest here? Did we ever ship any of the steppings that still need the gfx clock force?
Quoted 6 lines
Quoted 4 lines
we can remove the force gfx clock, mask and request only the min freq when we are idle.
You will submit patch will fix or you want me to do it?
Go ahead if you have time. I'm already juggling too many things :)
Ok. I will send the patch for review :)