On Wed, Nov 1, 2017 at 10:20 AM, Jani Nikula wrote:
> We were recently bitten by drm_edid_to_eld() clearing the connector
> type, and us failing to set it back for DP. Here's a few ELD related
> patches to try to unify ELD handling and make it a bit simpler for
> drivers to
There is a new version of DMC available for KBL.
The release notes mentions:
1. Fix for the issue where DC_STATE was getting enabled even
when disabled by driver causing data corruption.
Adding the pull request here as an experiment-
The following changes since commit
On 01/11/17 15:16, jeff.mc...@intel.com wrote:
From: Jeff McGee
If GuC firmware performs an engine reset while that engine had a
preemption pending, it will set the terminated attribute bit on our
preemption stage descriptor. GuC firmware retains all pending work
items
A new context assumes that all of its registers are in the default state
when it is created. What may happen is that a register written by one
context may leak into the second, causing mass confusion.
v2: extend back to Sandybridge, ignore non-priv registers that are not
context-saved (remind me
Quoting Arun Siluvery (2016-06-03 12:40:00)
> Kernel only need to add a register to HW whitelist, required for a
> preemption related issue.
>
> Reference: HSD#2131039
> Signed-off-by: Arun Siluvery
> ---
> drivers/gpu/drm/i915/i915_reg.h | 1 +
>
From: Jeff McGee
If GuC firmware performs an engine reset while that engine had a
preemption pending, it will set the terminated attribute bit on our
preemption stage descriptor. GuC firmware retains all pending work
items for a high-priority GuC client, unlike the
Hi Dave,
Here goes drm-intel-fixes-2017-11-01.
Fixes for Stable:
- Fix KBL Blank Screen (Jani)
- Fix FIFO Underrun on SNB (Maarten)
Other fixes:
- Fix GPU Hang on i915gm (Chris)
- Fix gem_tiled_pread_pwrite IGT case (Chris)
- Cancel modeset retry work during modeset clean-up (Manasi)
Thanks,
== Series Details ==
Series: drm: drm_plane_helper_check_state() related stuff (rev3)
URL : https://patchwork.freedesktop.org/series/33002/
State : success
== Summary ==
Test drv_module_reload:
Subgroup basic-reload:
pass -> DMESG-WARN (shard-hsw) fdo#102707
Test
== Series Details ==
Series: drm/i915: Implement ReadHitWriteOnlyDisable.
URL : https://patchwork.freedesktop.org/series/32991/
State : success
== Summary ==
Series 32991v1 drm/i915: Implement ReadHitWriteOnlyDisable.
https://patchwork.freedesktop.org/api/1.0/series/32991/revisions/1/mbox/
On Wed, Nov 01, 2017 at 02:11:05PM -0700, Rodrigo Vivi wrote:
> On Wed, Nov 01, 2017 at 04:32:35PM +, Rafael Antognolli wrote:
> > The workaround for this is described as:
> >
> > "if RenderSurfaceState.Num_Multisamples > 1, disable RCC clock gating if
> > RenderSurfaceState.Num_Multisamples
== Series Details ==
Series: drm/i915: Flush the irq and tasklets before asserting engine is idle
URL : https://patchwork.freedesktop.org/series/33009/
State : warning
== Summary ==
Series 33009v1 drm/i915: Flush the irq and tasklets before asserting engine is
idle
On Wed, Nov 01, 2017 at 10:08:50AM +, Mika Kahola wrote:
> For Cannonlake the number of scalers for each pipe is 2. Let's increase
> the number of scalers for pipe C.
>
> v2: Use INTEL_GEN() instead of IS_CANNONLAKE()
>
> Signed-off-by: Mika Kahola
also... merged to
On Wed, Nov 01, 2017 at 10:08:50AM +, Mika Kahola wrote:
> For Cannonlake the number of scalers for each pipe is 2. Let's increase
> the number of scalers for pipe C.
>
> v2: Use INTEL_GEN() instead of IS_CANNONLAKE()
>
> Signed-off-by: Mika Kahola
Reviewed-by:
On Wed, Nov 01, 2017 at 08:56:59PM +, Patchwork wrote:
> == Series Details ==
>
> Series: drm/i915: Implement ReadHitWriteOnlyDisable.
> URL : https://patchwork.freedesktop.org/series/32991/
> State : failure
>
> == Summary ==
>
> Test kms_flip:
> Subgroup
== Series Details ==
Series: drm/i915: Don't try to use negative pll_id.
URL : https://patchwork.freedesktop.org/series/33004/
State : failure
== Summary ==
Test kms_frontbuffer_tracking:
Subgroup fbc-1p-pri-indfb-multidraw:
pass -> FAIL (shard-hsw)
Test
On Wed, Nov 01, 2017 at 04:32:35PM +, Rafael Antognolli wrote:
> The workaround for this is described as:
>
> "if RenderSurfaceState.Num_Multisamples > 1, disable RCC clock gating if
> RenderSurfaceState.Num_Multisamples == 1, set 0x7010[14] = 1"
>
> So it looks like the userspace should be
== Series Details ==
Series: drm: drm_plane_helper_check_state() related stuff (rev3)
URL : https://patchwork.freedesktop.org/series/33002/
State : success
== Summary ==
Series 33002v3 drm: drm_plane_helper_check_state() related stuff
== Series Details ==
Series: drm/i915: Implement ReadHitWriteOnlyDisable.
URL : https://patchwork.freedesktop.org/series/32991/
State : failure
== Summary ==
Test kms_flip:
Subgroup plain-flip-fb-recreate-interruptible:
pass -> FAIL (shard-hsw) fdo#100368
On Wed, Nov 01, 2017 at 01:58:04PM +, Chris Wilson wrote:
> Quoting Michel Thierry (2017-10-31 22:53:09)
> > This patch adds per engine reset and recovery (TDR) support when GuC is
> > used to submit workloads to GPU.
> >
> > In the case of i915 directly submission to ELSP, driver manages
Before we assert that the engine is idle, make sure we flush any
residual tasklet. After that point, if the engine is not idle, more work
may be queued despite us trying to park the engine and go to sleep.
References: https://bugs.freedesktop.org/show_bug.cgi?id=103479
Signed-off-by: Chris Wilson
From: Ville Syrjälä
drm_plane_helper_check_update() isn't a transitional helper, so let's
rename it to drm_atomic_helper_check_plane_state() and move it into
drm_atomic_helper.c.
v2: Fix the WARNs about plane_state->crtc matching crtc_state->crtc
Cc: Daniel
From: Ville Syrjälä
drm_plane_helper_check_state() is supposed to do things the atomic way,
so it should not be inspecting crtc->enabled. Rather we should be
looking at crtc_state->enable.
We have a slight complication due to drm_plane_helper_check_update()
== Series Details ==
Series: drm/i915: Don't try to use negative pll_id.
URL : https://patchwork.freedesktop.org/series/33004/
State : success
== Summary ==
Series 33004v1 drm/i915: Don't try to use negative pll_id.
https://patchwork.freedesktop.org/api/1.0/series/33004/revisions/1/mbox/
On Wed, Nov 01, 2017 at 07:46:18PM -, Patchwork wrote:
> == Series Details ==
>
> Series: drm: drm_plane_helper_check_state() related stuff
> URL : https://patchwork.freedesktop.org/series/33002/
> State : failure
>
> == Summary ==
>
> Series 33002v1 drm: drm_plane_helper_check_state()
> -Original Message-
> From: dim-tools [mailto:dim-tools-boun...@lists.freedesktop.org] On Behalf
> Of Sean Paul
> Sent: Wednesday, November 01, 2017 8:52 AM
> To: Gustavo Padovan
> Cc: Daniel Vetter; Intel Graphics Development; dim-
> to...@lists.freedesktop.org; dri-devel; Daniel Vetter
== Series Details ==
Series: drm: drm_plane_helper_check_state() related stuff
URL : https://patchwork.freedesktop.org/series/33002/
State : failure
== Summary ==
Series 33002v1 drm: drm_plane_helper_check_state() related stuff
On Wed, Nov 01, 2017 at 07:08:52PM +, Manasi Navare wrote:
> On Wed, Nov 01, 2017 at 11:44:58AM -0700, Rodrigo Vivi wrote:
> > It is unlikely we are getting the -1 here.
> > But if we propagate that pll_id -1 to the rest of the code
> > we might have funny calculations on link_clock and who
>
On Wed, Nov 01, 2017 at 12:13:42PM -0700, Rodrigo Vivi wrote:
> On Wed, Nov 01, 2017 at 06:56:55PM +, Ville Syrjälä wrote:
> > On Wed, Nov 01, 2017 at 11:44:58AM -0700, Rodrigo Vivi wrote:
> > > It is unlikely we are getting the -1 here.
> > > But if we propagate that pll_id -1 to the rest of
== Series Details ==
Series: series starting with [1/2] drm/i915: Ignore previous watermarks on ILK
if inherited
URL : https://patchwork.freedesktop.org/series/32995/
State : failure
== Summary ==
Series 32995 revision 1 was fully merged or fully failed: no git log
== Series Details ==
Series: drm/i915: Implement ReadHitWriteOnlyDisable.
URL : https://patchwork.freedesktop.org/series/32991/
State : success
== Summary ==
Series 32991v1 drm/i915: Implement ReadHitWriteOnlyDisable.
https://patchwork.freedesktop.org/api/1.0/series/32991/revisions/1/mbox/
On Wed, Nov 01, 2017 at 06:56:55PM +, Ville Syrjälä wrote:
> On Wed, Nov 01, 2017 at 11:44:58AM -0700, Rodrigo Vivi wrote:
> > It is unlikely we are getting the -1 here.
> > But if we propagate that pll_id -1 to the rest of the code
> > we might have funny calculations on link_clock and who
>
On Wed, Nov 01, 2017 at 11:44:58AM -0700, Rodrigo Vivi wrote:
> It is unlikely we are getting the -1 here.
> But if we propagate that pll_id -1 to the rest of the code
> we might have funny calculations on link_clock and who
> knows what registers we end up accessing.
>
> Better to protect the
On Wed, Nov 01, 2017 at 11:44:58AM -0700, Rodrigo Vivi wrote:
> It is unlikely we are getting the -1 here.
> But if we propagate that pll_id -1 to the rest of the code
> we might have funny calculations on link_clock and who
> knows what registers we end up accessing.
>
> Better to protect the
== Series Details ==
Series: drm/edid and drivers: ELD refactoring
URL : https://patchwork.freedesktop.org/series/32979/
State : warning
== Summary ==
Series 32979v1 drm/edid and drivers: ELD refactoring
https://patchwork.freedesktop.org/api/1.0/series/32979/revisions/1/mbox/
Test chamelium:
It is unlikely we are getting the -1 here.
But if we propagate that pll_id -1 to the rest of the code
we might have funny calculations on link_clock and who
knows what registers we end up accessing.
Better to protect the code.
Also better with errno number instead of generic -1.
Cc: Manasi
From: Ville Syrjälä
drm_plane_helper_check_state() is supposed to do things the atomic way,
so it should not be inspecting crtc->enabled. Rather we should be
looking at crtc_state->enable.
We have a slight complication due to drm_plane_helper_check_update()
From: Ville Syrjälä
drm_plane_helper_check_update() isn't a transitional helper, so let's
rename it to drm_atomic_helper_check_plane_state() and move it into
drm_atomic_helper.c.
Cc: Daniel Vetter
Suggested-by: Daniel Vetter
From: Ville Syrjälä
Atomic drivers have no reason to use drm_plane_helper_check_update()
instead of drm_plane_helper_check_state(). So let's switch over.
Cc: VMware Graphics
Cc: Sinclair Yeh
Cc: Thomas
From: Ville Syrjälä
Try to fix the code to actually clip the plane to the crtc bounds
instead of the user provided crtc coordinates (which would be a no-op
since those are exactly the coordinates before clipping).
Cc: VMware Graphics
From: Ville Syrjälä
While trawling the tree I spotted some issues with the way vmwgfx
uses drm_plane_helper_check_state(). Here's my attempt at fixing it.
Do note that I haven't actually tested the resulting code at all,
but it does build at least.
And while
From: Ville Syrjälä
Throw away the bugs crtc coords vs. fb size check. Crtc coords don't
define the viewport inside the fb, that's a job for the src coords,
which have been checked by the core already.
Cc: VMware Graphics
Cc:
== Series Details ==
Series: series starting with [1/4] drm: Enable pr_debug() for drm_printer
URL : https://patchwork.freedesktop.org/series/32750/
State : success
== Summary ==
Series 32750v1 series starting with [1/4] drm: Enable pr_debug() for drm_printer
== Series Details ==
Series: drm/drm_vma_manager.c: Remove useless goto statement
URL : https://patchwork.freedesktop.org/series/32987/
State : success
== Summary ==
Test kms_flip:
Subgroup flip-vs-blocking-wf-vblank:
fail -> PASS (shard-hsw)
On Wed, Nov 1, 2017 at 1:00 PM, Eric Anholt wrote:
> Sean Paul writes:
>
>> On Wed, Nov 1, 2017 at 7:12 AM, Gustavo Padovan wrote:
>>> 2017-10-31 Sean Paul :
>>>
On Tue, Oct 31, 2017 at 1:31 PM, Daniel
This fix was originally reverted because it left a chromebook pixel
black, and no immediate fix was available. This has been fixed in the
meantime.
Rather than trying to remove the parameter, set it to default to true
for now, so we can always back out if required.
Signed-off-by: Maarten
Fixes the following error when fastset is enabled, caught by CI:
[drm:ilk_validate_wm_level.part.8 [i915]] Sprite WM0 too large 56 (max 0)
[drm:ilk_validate_pipe_wm [i915]] LP0 watermark invalid
[drm:intel_crtc_atomic_check [i915]] No valid intermediate pipe watermarks are
possible
Triggered on
Op 01-11-17 om 18:00 schreef Ville Syrjälä:
> On Wed, Nov 01, 2017 at 04:55:06PM +0100, Maarten Lankhorst wrote:
>> Op 01-11-17 om 16:29 schreef Ville Syrjälä:
>>> On Wed, Nov 01, 2017 at 04:04:33PM +0100, Maarten Lankhorst wrote:
This introduces a slight behavioral change to rmfb. Instead of
== Series Details ==
Series: series starting with [1/4] drm: Enable pr_debug() for drm_printer
URL : https://patchwork.freedesktop.org/series/32750/
State : failure
== Summary ==
Series 32750v1 series starting with [1/4] drm: Enable pr_debug() for drm_printer
On Wed, Nov 01, 2017 at 04:21:08PM +, Ben Widawsky wrote:
> On 17-11-01 18:09:47, Joonas Lahtinen wrote:
> > + Kimmo and Paul
> >
> > On Wed, 2017-11-01 at 07:43 -0700, Ben Widawsky wrote:
> > > On 17-11-01 14:07:28, Joonas Lahtinen wrote:
> > > > On Mon, 2017-10-30 at 10:48 -0700, Rodrigo
On Wed, Nov 01, 2017 at 04:55:06PM +0100, Maarten Lankhorst wrote:
> Op 01-11-17 om 16:29 schreef Ville Syrjälä:
> > On Wed, Nov 01, 2017 at 04:04:33PM +0100, Maarten Lankhorst wrote:
> >> This introduces a slight behavioral change to rmfb. Instead of
> >> disabling a crtc when the primary plane
Sean Paul writes:
> On Wed, Nov 1, 2017 at 7:12 AM, Gustavo Padovan wrote:
>> 2017-10-31 Sean Paul :
>>
>>> On Tue, Oct 31, 2017 at 1:31 PM, Daniel Vetter wrote:
>>> > On Tue, Oct 31, 2017 at 5:14 PM, Sean Paul
== Series Details ==
Series: drm/drm_vma_manager.c: Remove useless goto statement
URL : https://patchwork.freedesktop.org/series/32987/
State : success
== Summary ==
Series 32987v1 drm/drm_vma_manager.c: Remove useless goto statement
Jani Nikula writes:
> drm_add_edid_modes() now fills in the ELD automatically, so the calls to
> drm_edid_to_eld() are redundant. Remove them.
>
> All the other places are obvious, but nv50 has detached
> drm_edid_to_eld() from the drm_add_edid_modes() call.
Nice! For
> -Original Message-
> From: Vivi, Rodrigo
> Sent: Wednesday, November 1, 2017 12:27 AM
> To: C, Ramalingam
> Cc: intel-gfx@lists.freedesktop.org; Zanoni, Paulo R
> ; ch...@chris-wilson.co.uk
> Subject: Re: [PATCH 1/2] drm/i915: Runtime
The workaround for this is described as:
"if RenderSurfaceState.Num_Multisamples > 1, disable RCC clock gating if
RenderSurfaceState.Num_Multisamples == 1, set 0x7010[14] = 1"
So it looks like the userspace should be responsible for setting these,
based on the number of multisamples dependency.
== Series Details ==
Series: drm/atomic: Try to preserve the crtc enabled state in
drm_atomic_remove_fb, v2.
URL : https://patchwork.freedesktop.org/series/32985/
State : warning
== Summary ==
Series 32985v1 drm/atomic: Try to preserve the crtc enabled state in
drm_atomic_remove_fb, v2.
On 17-11-01 18:09:47, Joonas Lahtinen wrote:
+ Kimmo and Paul
On Wed, 2017-11-01 at 07:43 -0700, Ben Widawsky wrote:
On 17-11-01 14:07:28, Joonas Lahtinen wrote:
> On Mon, 2017-10-30 at 10:48 -0700, Rodrigo Vivi wrote:
> > On Mon, Oct 30, 2017 at 01:00:51PM +, David Weinehall wrote:
> > >
+ Kimmo and Paul
On Wed, 2017-11-01 at 07:43 -0700, Ben Widawsky wrote:
> On 17-11-01 14:07:28, Joonas Lahtinen wrote:
> > On Mon, 2017-10-30 at 10:48 -0700, Rodrigo Vivi wrote:
> > > On Mon, Oct 30, 2017 at 01:00:51PM +, David Weinehall wrote:
> > > > On Fri, Oct 27, 2017 at 01:57:09PM
== Series Details ==
Series: drm/i915: Re-enable fastboot by default
URL : https://patchwork.freedesktop.org/series/32984/
State : failure
== Summary ==
Series 32984v1 drm/i915: Re-enable fastboot by default
https://patchwork.freedesktop.org/api/1.0/series/32984/revisions/1/mbox/
Test
Hi Daniel,
On 1 November 2017 at 14:23, Daniel Vetter wrote:
> On Wed, Nov 01, 2017 at 09:48:28AM +0530, PrasannaKumar Muralidharan wrote:
>> Hi Daniel,
>>
>> On 31 October 2017 at 21:57, Daniel Vetter wrote:
>> > On Tue, Oct 31, 2017 at 08:37:21PM +0530,
Op 01-11-17 om 16:29 schreef Ville Syrjälä:
> On Wed, Nov 01, 2017 at 04:04:33PM +0100, Maarten Lankhorst wrote:
>> This introduces a slight behavioral change to rmfb. Instead of
>> disabling a crtc when the primary plane is disabled, we try to
>> preserve it.
>>
>> Apart from old versions of the
tree: git://anongit.freedesktop.org/drm-intel for-linux-next
head: 3265124a2d3744d789ede58452ab6f8a9b454be8
commit: 680273879d125d644831b8de42c66576e6290378 [3/4] drm/i915: Move
parking-while-active warning to intel_engines_park()
config: i386-randconfig-x003-201744 (attached as .config)
== Series Details ==
Series: drm/edid and drivers: ELD refactoring
URL : https://patchwork.freedesktop.org/series/32979/
State : warning
== Summary ==
Series 32979v1 drm/edid and drivers: ELD refactoring
https://patchwork.freedesktop.org/api/1.0/series/32979/revisions/1/mbox/
Test
On Wed, Nov 01, 2017 at 04:04:33PM +0100, Maarten Lankhorst wrote:
> This introduces a slight behavioral change to rmfb. Instead of
> disabling a crtc when the primary plane is disabled, we try to
> preserve it.
>
> Apart from old versions of the vmwgfx xorg driver, there is
> nothing depending
On Wed, 01 Nov 2017, Mika Kahola wrote:
> To make looping through transcoders in intel_ddi.c more generic, let's switch
> to use 'for_each_pipe()' macro to do this.
>
> Signed-off-by: Mika Kahola
> ---
> drivers/gpu/drm/i915/intel_ddi.c | 2 +-
> 1
== Series Details ==
Series: drm/edid and drivers: ELD refactoring
URL : https://patchwork.freedesktop.org/series/32979/
State : warning
== Summary ==
Series 32979v1 drm/edid and drivers: ELD refactoring
https://patchwork.freedesktop.org/api/1.0/series/32979/revisions/1/mbox/
Test chamelium:
On Wed, Nov 01, 2017 at 05:06:43PM +0200, Ville Syrjälä wrote:
> On Wed, Nov 01, 2017 at 03:53:25PM +0100, Maarten Lankhorst wrote:
> > This fix was originally reverted because it left a chromebook pixel
> > black, and no immediate fix was available. This has been fixed in the
> > meantime.
> >
>
Quoting Mika Kuoppala (2017-10-27 14:25:09)
> Chris Wilson writes:
>
> > If the we think the engine is still active when we attempt to park it,
> > we want more details -- so dump the engine state.
> >
> > References: https://bugs.freedesktop.org/show_bug.cgi?id=103479
Commit db2395eccf08i ("drm: Convert drm_vma_manager to embedded
interval-tree in drm_mm") removed a line in drm_vma_offset_add() function that
makes checking the result of calling drm_mm_insert_node() and the goto
call redundant. Rework the function (as suggested by Chris Wilson) to
eliminate the
On Wed, Nov 01, 2017 at 03:53:25PM +0100, Maarten Lankhorst wrote:
> This fix was originally reverted because it left a chromebook pixel
> black, and no immediate fix was available. This has been fixed in the
> meantime.
>
> Rather than trying to remove the parameter, set it to default to true
>
On Wed, Nov 01, 2017 at 04:21:02PM +0200, Jani Nikula wrote:
> diff --git a/drivers/gpu/drm/nouveau/nv50_display.c
> b/drivers/gpu/drm/nouveau/nv50_display.c
> index e4751f92b342..e0a190a0f029 100644
> --- a/drivers/gpu/drm/nouveau/nv50_display.c
> +++ b/drivers/gpu/drm/nouveau/nv50_display.c
>
This introduces a slight behavioral change to rmfb. Instead of
disabling a crtc when the primary plane is disabled, we try to
preserve it.
Apart from old versions of the vmwgfx xorg driver, there is
nothing depending on rmfb disabling a crtc.
Vmwgfx' and simple kms helper atomic implementation
On Wed, Nov 01, 2017 at 04:20:56PM +0200, Jani Nikula wrote:
> We were recently bitten by drm_edid_to_eld() clearing the connector
> type, and us failing to set it back for DP. Here's a few ELD related
> patches to try to unify ELD handling and make it a bit simpler for
> drivers to get it right.
== Series Details ==
Series: drm/i915: Check that the breadcrumb wasn't disarmed automatically
before parking
URL : https://patchwork.freedesktop.org/series/32903/
State : failure
== Summary ==
Series 32903 revision 1 was fully merged or fully failed: no git log
== Logs ==
For more details
This fix was originally reverted because it left a chromebook pixel
black, and no immediate fix was available. This has been fixed in the
meantime.
Rather than trying to remove the parameter, set it to default to true
for now, so we can always back out if required.
Signed-off-by: Maarten
Quoting Liviu Dudau (2017-11-01 14:44:58)
> Commit db2395eccf08i ("drm: Convert drm_vma_manager to embedded
> interval-tree in drm_mm") removed a line in drm_vma_offset_add() function that
> makes checking the result of calling drm_mm_insert_node() and the goto
> call redundant. Rework the
On 17-11-01 14:07:28, Joonas Lahtinen wrote:
On Mon, 2017-10-30 at 10:48 -0700, Rodrigo Vivi wrote:
On Mon, Oct 30, 2017 at 01:00:51PM +, David Weinehall wrote:
> On Fri, Oct 27, 2017 at 01:57:09PM -0700, Daniele Ceraolo Spurio wrote:
> >
> >
> > On 26/10/17 03:32, Chris Wilson wrote:
> > >
On 11/1/2017 7:54 PM, Michal Wajdeczko wrote:
On Mon, 30 Oct 2017 15:00:52 +0100, Sagar Arun Kamble
wrote:
On 10/27/2017 10:45 PM, Michal Wajdeczko wrote:
Transfer of GuC firmware requires few steps that currently
are implemented in two large functions. Split
Quoting Tvrtko Ursulin (2017-10-31 10:23:26)
> From: Tvrtko Ursulin
>
> GEM_BUG_ON if the packed bits do not fit into the specified width.
>
> Signed-off-by: Tvrtko Ursulin
Reviewed-by: Chris Wilson
-Chris
Quoting Tvrtko Ursulin (2017-10-31 10:23:25)
> From: Tvrtko Ursulin
>
> We have to reject unknown flags for uAPI considerations, and also
> because the curent implementation limits their i915 storage space
> to two bits.
>
> v2: (Chris Wilson)
> * Fix fail in ABI
On Mon, 30 Oct 2017 15:00:52 +0100, Sagar Arun Kamble
wrote:
On 10/27/2017 10:45 PM, Michal Wajdeczko wrote:
Transfer of GuC firmware requires few steps that currently
are implemented in two large functions. Split this code into
smaller functions to make these
Op 01-11-17 om 13:55 schreef Imre Deak:
> On Wed, Nov 01, 2017 at 12:32:37PM +0100, Maarten Lankhorst wrote:
>> Op 31-10-17 om 14:44 schreef Imre Deak:
>>> Doing modeset on internal panels may have a considerable overhead due to
>>> the panel specific power sequencing delays. To avoid long test
Preparation for future work. No functional changes.
Signed-off-by: Jani Nikula
---
drivers/gpu/drm/drm_edid.c | 21 +
1 file changed, 13 insertions(+), 8 deletions(-)
diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index
drm_add_edid_modes() now fills in the ELD automatically, so the calls to
drm_edid_to_eld() are redundant. Remove them.
All the other places are obvious, but nv50 has detached
drm_edid_to_eld() from the drm_add_edid_modes() call.
Cc: Alex Deucher
Cc: Christian König
This is no longer needed outside of drm_edid.c.
Signed-off-by: Jani Nikula
---
drivers/gpu/drm/drm_edid.c | 5 ++---
include/drm/drm_edid.h | 1 -
include/drm/drm_modeset_helper_vtables.h | 3 ---
3 files changed, 2 insertions(+), 7
Call drm_edid_to_eld() from drm_add_edid_modes() to fill in the ELD
automatically. There's no harm in doing this for connectors that do not
support audio.
Signed-off-by: Jani Nikula
---
drivers/gpu/drm/drm_edid.c | 8 ++--
1 file changed, 6 insertions(+), 2
drm_edid_to_eld() now sets ELD connector type, remove the redundant
update.
Signed-off-by: Jani Nikula
---
drivers/gpu/drm/i915/intel_modes.c | 17 -
1 file changed, 17 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_modes.c
Since drm_edid_to_eld() knows the connector type, we can set the type in
ELD while at it. Most connectors this gets called on are not DP
encoders, and with the HDMI type being 0, this does not change behaviour
for non-DP.
For i915 having this in place earlier would have saved a considerable
We were recently bitten by drm_edid_to_eld() clearing the connector
type, and us failing to set it back for DP. Here's a few ELD related
patches to try to unify ELD handling and make it a bit simpler for
drivers to get it right.
Apologies for the massive Cc list; it's the maintainers of all
We have the macros, use them. No functional changes.
Signed-off-by: Jani Nikula
---
drivers/gpu/drm/drm_edid.c | 27 ++-
1 file changed, 14 insertions(+), 13 deletions(-)
diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index
Quoting Daniel Vetter (2017-10-31 16:38:26)
> On Tue, Oct 31, 2017 at 03:28:01PM +0200, Ville Syrjälä wrote:
> > On Tue, Oct 31, 2017 at 11:55:35AM +, Chris Wilson wrote:
> > > To acquire all modeset locks requires a ww_ctx to be allocated. As this
> > > is the legacy path and the allocation
Quoting Michel Thierry (2017-10-31 22:53:09)
> This patch adds per engine reset and recovery (TDR) support when GuC is
> used to submit workloads to GPU.
>
> In the case of i915 directly submission to ELSP, driver manages hang
> detection, recovery and resubmission. With GuC submission these
Quoting Joonas Lahtinen (2017-11-01 13:38:19)
> On Tue, 2017-10-31 at 12:22 +, Chris Wilson wrote:
> > We will disarm the breadcrumb interrupt if we see a user interrupt
> > whilst no one is waiting. This may race with the call to
> > intel_engine_disarm_breadcrumbs() triggering an assert that
Quoting David Weinehall (2017-11-01 13:38:48)
> On Tue, Oct 31, 2017 at 05:11:20PM -0700, Anusha Srivatsa wrote:
> > Calculate the time that GuC takes to load using
> > jiffies. This information could be very useful in
> > determining if GuC is taking unreasonably long time
> > to load in a
Quoting Joonas Lahtinen (2017-11-01 13:17:11)
> On Tue, 2017-10-31 at 10:36 +, Chris Wilson wrote:
> > In case the object has changed tiling between calls to execbuf, we need
> > to check if the existing offset inside the GTT matches the new tiling
> > constraint. We even need to do this for
On Tue, Oct 31, 2017 at 05:11:20PM -0700, Anusha Srivatsa wrote:
> Calculate the time that GuC takes to load using
> jiffies. This information could be very useful in
> determining if GuC is taking unreasonably long time
> to load in a certain platforms.
>
> v2: Calculate time before logs are
On Tue, 2017-10-31 at 12:22 +, Chris Wilson wrote:
> We will disarm the breadcrumb interrupt if we see a user interrupt
> whilst no one is waiting. This may race with the call to
> intel_engine_disarm_breadcrumbs() triggering an assert that we aren't
> trying to do the same job twice. Prevent
On Wed, 01 Nov 2017 01:11:21 +0100, Anusha Srivatsa
wrote:
This patch uses jiffies to calculate the huc
^^^ ^^^
Please update commit message to match final change
and use correct name for HuC (s/huc/HuC)
load time.This
Quoting Michal Wajdeczko (2017-11-01 13:14:33)
> On Wed, 01 Nov 2017 01:11:20 +0100, Anusha Srivatsa
> > @@ -172,13 +174,18 @@ static int guc_ucode_xfer_dma(struct
> > drm_i915_private *dev_priv,
> >*/
> > ret = wait_for(guc_ucode_response(dev_priv, ), 100);
> > + load_time =
On Tue, 2017-10-31 at 10:36 +, Chris Wilson wrote:
> In case the object has changed tiling between calls to execbuf, we need
> to check if the existing offset inside the GTT matches the new tiling
> constraint. We even need to do this for "unfenced" tiled objects, where
> the 3D commands use
1 - 100 of 127 matches
Mail list logo