All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mika Kuoppala <mika.kuoppala@linux.intel.com>
To: Nick Hoath <nicholas.hoath@intel.com>,
	"intel-gfx@lists.freedesktop.org"
	<intel-gfx@lists.freedesktop.org>
Subject: Re: [PATCH 1/4] drm/i915/bxt: Enable WaVSRefCountFullforceMissDisable
Date: Mon, 29 Jun 2015 17:44:21 +0300	[thread overview]
Message-ID: <87a8vipoai.fsf@gaia.fi.intel.com> (raw)
In-Reply-To: <559153F3.2030302@intel.com>

Nick Hoath <nicholas.hoath@intel.com> writes:

> On 29/06/2015 15:08, Mika Kuoppala wrote:
>>
>> Hi,
>>
>> Nick Hoath <nicholas.hoath@intel.com> writes:
>>
>>> From: Rafael Barbalho <rafael.barbalho@intel.com>
>>>
>>> Signed-off-by: Rafael Barbalho <rafael.barbalho@intel.com>
>>> Signed-off-by: Nick Hoath <nicholas.hoath@intel.com>
>>> ---
>>>   drivers/gpu/drm/i915/intel_pm.c | 5 +++++
>>>   1 file changed, 5 insertions(+)
>>>
>>> diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
>>> index 32ff034..d635d0a 100644
>>> --- a/drivers/gpu/drm/i915/intel_pm.c
>>> +++ b/drivers/gpu/drm/i915/intel_pm.c
>>> @@ -59,6 +59,11 @@ static void gen9_init_clock_gating(struct drm_device *dev)
>>>   	/* WaEnableLbsSlaRetryTimerDecrement:skl */
>>>   	I915_WRITE(BDW_SCRATCH1, I915_READ(BDW_SCRATCH1) |
>>>   		   GEN9_LBS_SLA_RETRY_TIMER_DECREMENT_ENABLE);
>>> +
>>> +	/* WaVSRefCountFullforceMissDisable:skl,bxt */
>>> +	I915_WRITE(GEN7_FF_THREAD_MODE,
>>> +		   I915_READ(GEN7_FF_THREAD_MODE) &
>>> +		   ~(GEN7_FF_VS_REF_CNT_FFME));
>>>   }
>>>
>>
>> This bit 19 seems to be about Tesselation DOP gating disable
>> with gen9+ onwards. And with that workaroundname, the applicability
>> should be hsw,bdw. I am confused.
>>
>
> The specs say these WAs are required for GEN9+, BDW & HSW. So I'm
> at a loss to see the confusion.
>

I was wrong about the bit 19. It is bit 15. But the issue remains,
bit 15 is not about VS reference counts but TDS bypassing on SKL.
The meaning of bitsfield have changed on skl. So we need to hunt
down where the refcount disable has been moved?

-Mika


>> -Mika
>>
>>
>>>   static void skl_init_clock_gating(struct drm_device *dev)
>>> --
>>> 2.1.1
>>>
>>> _______________________________________________
>>> Intel-gfx mailing list
>>> Intel-gfx@lists.freedesktop.org
>>> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

      reply	other threads:[~2015-06-29 14:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-29 13:07 [PATCH 1/4] drm/i915/bxt: Enable WaVSRefCountFullforceMissDisable Nick Hoath
2015-06-29 13:07 ` [PATCH 2/4] drm/i915/bxt: Enable WaDSRefCountFullforceMissDisable Nick Hoath
2015-06-29 13:07 ` [PATCH 3/4] drm/i915/bxt: Enable WaOCLCoherentLineFlush Nick Hoath
2015-06-29 13:07 ` [PATCH 4/4] drm/i915/bxt: Clean up bxt_init_clock_gating Nick Hoath
2015-06-29 14:29   ` Mika Kuoppala
2015-09-07 13:55     ` Nick Hoath
2015-09-07 16:19       ` Daniel Vetter
2015-06-30  2:56   ` shuang.he
2015-06-29 14:08 ` [PATCH 1/4] drm/i915/bxt: Enable WaVSRefCountFullforceMissDisable Mika Kuoppala
2015-06-29 14:19   ` Nick Hoath
2015-06-29 14:44     ` Mika Kuoppala [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a8vipoai.fsf@gaia.fi.intel.com \
    --to=mika.kuoppala@linux.intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=nicholas.hoath@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.