All of lore.kernel.org
 help / color / mirror / Atom feed
From: Karthik B S <karthik.b.s@intel.com>
To: Paulo Zanoni <paulo.r.zanoni@intel.com>, intel-gfx@lists.freedesktop.org
Subject: Re: [Intel-gfx] [PATCH v2 3/6] drm/i915: Enable async flips in i915
Date: Fri, 29 May 2020 09:40:50 +0530	[thread overview]
Message-ID: <22da3fc3-cd1d-9eeb-092f-95fc5230ef90@intel.com> (raw)
In-Reply-To: <4286a25810b146a370e3b1ef32dc6c54b7cf0275.camel@intel.com>



On 4/20/2020 11:34 PM, Paulo Zanoni wrote:
> Em seg, 2020-04-20 às 15:17 +0530, Karthik B S escreveu:
>> Enable asynchronous flips in i915 for gen9+ platforms.
>>
>> v2: -Async flip enablement should be a stand alone patch (Paulo)
> 
> ... and at the very end of the series.
> 
> If someone is bisecting the Kernel for some problem unrelated to async
> flips, and they end up exactly at this commit, and their user space
> happens to try to do async flips, will their system be broken? A quick
> check at patches 4, 5 and 6 suggests they are necessary for the feature
> to work, so here we're enabling a feature that we know won't work
> because its support is not fully merged yet.
> 
> A patch series is not allowed to break the Kernel in the middle and
> then fix it later.
> 

Understood.
Moved this patch to the end of the series.

Thanks,
Karthik.B.S
>>
>> Signed-off-by: Karthik B S <karthik.b.s@intel.com>
>> ---
>>   drivers/gpu/drm/i915/display/intel_display.c | 3 +++
>>   1 file changed, 3 insertions(+)
>>
>> diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
>> index cf8f5779dee4..8601b159f425 100644
>> --- a/drivers/gpu/drm/i915/display/intel_display.c
>> +++ b/drivers/gpu/drm/i915/display/intel_display.c
>> @@ -17574,6 +17574,9 @@ static void intel_mode_config_init(struct drm_i915_private *i915)
>>   
>>   	mode_config->funcs = &intel_mode_funcs;
>>   
>> +	if (INTEL_GEN(i915) >= 9)
>> +		mode_config->async_page_flip = true;
>> +
>>   	/*
>>   	 * Maximum framebuffer dimensions, chosen to match
>>   	 * the maximum render engine surface size on gen4+.
> 
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2020-05-29  4:10 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-20  9:47 [Intel-gfx] [PATCH v2 0/6] Asynchronous flip implementation for i915 Karthik B S
2020-04-20  9:47 ` [Intel-gfx] [PATCH v2 1/6] drm/i915: Add enable/disable flip done and flip done handler Karthik B S
2020-04-24 17:44   ` Paulo Zanoni
2020-05-29  4:06     ` Karthik B S
2020-04-20  9:47 ` [Intel-gfx] [PATCH v2 2/6] drm/i915: Add support for async flips in I915 Karthik B S
2020-04-20  9:47 ` [Intel-gfx] [PATCH v2 3/6] drm/i915: Enable async flips in i915 Karthik B S
2020-04-20 18:04   ` Paulo Zanoni
2020-05-29  4:10     ` Karthik B S [this message]
2020-04-20  9:47 ` [Intel-gfx] [PATCH v2 4/6] drm/i915: Make commit call blocking in case of async flips Karthik B S
2020-04-24 17:46   ` Paulo Zanoni
2020-05-29  4:24     ` Karthik B S
2020-04-20  9:47 ` [Intel-gfx] [PATCH v2 5/6] drm/i915: Add checks specific to " Karthik B S
2020-04-20 17:58   ` Paulo Zanoni
2020-05-29  4:50     ` Karthik B S
2020-04-20  9:47 ` [Intel-gfx] [PATCH v2 6/6] drm/i915: Do not call drm_crtc_arm_vblank_event in " Karthik B S
2020-04-20 10:06 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Asynchronous flip implementation for i915 (rev2) Patchwork
2020-04-20 10:30 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2020-04-20 15:47 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork

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=22da3fc3-cd1d-9eeb-092f-95fc5230ef90@intel.com \
    --to=karthik.b.s@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=paulo.r.zanoni@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.