On to, 2017-01-19 at 19:26 +, Chris Wilson wrote:
> Now that i915_gem_object_bump_inactive_ggtt() exists, also make use of
> it for the LRU bumping from i915_gem_object_unpin_from_display()
>
> Signed-off-by: Chris Wilson
> /* Bump the LRU to try and avoid
On to, 2017-01-19 at 19:26 +, Chris Wilson wrote:
> When pinning into the global GTT, an error from creating the VMA is
> unlikely, so mark it so.
>
> Signed-off-by: Chris Wilson
> vma = i915_vma_instance(obj, vm, view);
> - if (IS_ERR(vma))
> + if
On Fri, 20 Jan 2017 23:22:31 +0100,
Jerome Anand wrote:
>
> + had_ops_v1 = had_ops_v1;/* unused */
Until now I didn't realize that the whole v1 stuff is never used in
the current patchset. Will it be ever used in future? If not, can't
we clean it up? It's a bunch of codes,
== Series Details ==
Series: drm/i915: Skip BSW display interrupt checks if we have a GT interrupt
URL : https://patchwork.freedesktop.org/series/18293/
State : failure
== Summary ==
Series 18293v1 drm/i915: Skip BSW display interrupt checks if we have a GT
interrupt
On to, 2017-01-19 at 14:30 +, Chris Wilson wrote:
> On Thu, Jan 19, 2017 at 12:58:46PM +, Chris Wilson wrote:
> >
> > Useful sanity check that the vma is legal to bind inside the address
> > space.
> >
> > Signed-off-by: Chris Wilson
> > +
On to, 2017-01-19 at 19:26 +, Chris Wilson wrote:
> Before moving the vma between the VM active/inactive lists, assert that
> the node is still allocated.
>
> Signed-off-by: Chris Wilson
Reviewed-by: Joonas Lahtinen
Regards,
To make the code clearer, use rb_entry() instead of container_of() to
deal with rbtree.
Signed-off-by: Geliang Tang
---
drivers/gpu/drm/i915/i915_gpu_error.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/i915_gpu_error.c
In the path where intel_crt_detect_ddc() detects a CRT, if would return
true without freeing the edid.
Found by coverity.
Fixes: a2bd1f541f19 ("drm/i915: check whether we actually received an
edid in detect_ddc")
Cc: Chris Wilson
Cc: Daniel Vetter
Parameters tile_size, tile_width and tile_height were passed in the
wrong order to _intel_adjust_tile_offset() when calculating the rotated
offsets.
This doesn't fix any user visible bug, since for packaged formats new
and old offset are the same and the rotated offsets are within a tile
before
An error in the condition for avoiding the call to intel_hpd_poll_init()
for valleyview and cherryview from intel_runtime_suspend() caused it to
be called unconditionally. Fix it.
Found by coverity.
Fixes: 19625e85c6ec ("drm/i915: Enable polling when we don't have hpd")
Cc:
In intel_crtc_disable_noatomic(), bail on a failure to allocate an
atomic state to avoid a NULL pointer dereference.
Found by coverity.
Fixes: 4a80655827af ("drm/i915: Pass atomic state to crtc enable/disable
functions")
Cc: Maarten Lankhorst
Cc: Daniel
On Fri, Jan 20, 2017 at 01:13:48PM +, Chris Wilson wrote:
> On Fri, Jan 20, 2017 at 10:15:09AM +, Chris Wilson wrote:
> > GT interrupts are very, very frequent as they are used for submitting
> > every request to the hardware (thanks be to execlists). Given their
> > prevalence and the
Other than reducing the number of EDID reads required for probing the
modes on a connector, this refactor has the importance of centralising
the logic for deciding when we need to probe for an analogue output via
DVI-I and then consistently using that information between detection and
mode
HuC authentication is called even if HuC firmware is not present in the
system, leading to NULL ptr dereference on not allocated gem_object.
Let's avoid trying to authenticate HuC if its firmware is not loaded
successfully.
Fixes: dac84a388528 ("drm/i915/huc: Support HuC authentication")
v2:
== Series Details ==
Series: series starting with [CI,1/3] drm/i915/huc: Avoid attempting to
authenticate non-existent fw
URL : https://patchwork.freedesktop.org/series/18320/
State : failure
== Summary ==
Series 18320v1 Series without cover letter
On Fri, Jan 20, 2017 at 07:54:09PM -, Patchwork wrote:
> == Series Details ==
>
> Series: series starting with [CI,1/3] drm/i915/huc: Avoid attempting to
> authenticate non-existent fw
> URL : https://patchwork.freedesktop.org/series/18320/
> State : failure
>
> == Summary ==
>
> Series
ville.syrj...@linux.intel.com writes:
> From: Ville Syrjälä
>
> Make the code selecting the RGB quantization range a little less magicy
> by wrapping it up in a small helper.
This series seems good. I won't have the ability to test it on vc4
within a reasonable
On Tue, Dec 27, 2016 at 03:56:54PM +0100, Daniel Vetter wrote:
> On Thu, Dec 22, 2016 at 04:04:41PM +0200, ville.syrj...@linux.intel.com wrote:
> > From: Ville Syrjälä
> >
> > crtc->config is on its way out. Let's reduce our dependence on it a
> > little bit by
---
drivers/gpu/drm/i915/i915_params.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/i915_params.c
b/drivers/gpu/drm/i915/i915_params.c
index 0e280fb..90d838f 100644
--- a/drivers/gpu/drm/i915/i915_params.c
+++ b/drivers/gpu/drm/i915/i915_params.c
@@
HuC firmware is mapped at GuC accessible range. Let's add an assert to
verify that.
Cc: Anusha Srivatsa
Cc: Arkadiusz Hiler
Cc: Chris Wilson
Reviewed-by: Michal Wajdeczko
Signed-off-by:
The intel_dp_autotest_video_pattern() function gets invoked through the
compliance test handler on a HPD short pulse if the test type is
set to DP_TEST_VIDEO_PATTERN. This performs the DPCD registers
reads to read the requested test pattern, video pattern resolution,
frame rate and bits per color
v4:
* Remove redundant single bit defs (Jani Nikula)
v3:
* Fix the conventions in bit definitions (Jani Nikula)
v2:
* Add all the other DP Complianec TEST register defs (Jani Nikula)
Cc: dri-de...@lists.freedesktop.org
Cc: Jani Nikula
Cc: Daniel Vetter
This patch addresses a few issues from the original patch for
DP Compliance EDID test support submitted by
Todd Previte
Video Mode requested in the EDID test handler for the EDID Read
test (CTS 4.2.2.3) should be set to PREFERRED as per the CTS spec.
v2:
* Added read
This patch series addresses all the review comments from the previous series:
https://patchwork.freedesktop.org/series/18256/
On top of that it also adds a fix for CRC mismatches seen during
18bpp video pattern compliance testing. This is done by forcing dither
on the pipe to be disabled if it is
This patch adds support to handle automated DP compliance
link training test requests. This patch has been tested with
Unigraf DPR-120 DP Compliance device for testing Link
Training Compliance.
After we get a short pulse Compliance test request, test
request values are read and hotplug uevent is
== Series Details ==
Series: Add automation support for DP Compliance (Rev 6)
URL : https://patchwork.freedesktop.org/series/18329/
State : success
== Summary ==
Series 18329v1 Add automation support for DP Compliance (Rev 6)
On Fri, Jan 20, 2017 at 01:16:13PM -0800, Daniele Ceraolo Spurio wrote:
> Ping. can anyone review/comment on this?
>
> Thanks,
> Daniele
>
> On 12/01/17 14:21, daniele.ceraolospu...@intel.com wrote:
> >From: Daniele Ceraolo Spurio
> >
> >The call went away in:
>
The call went away in:
commit 3b16525cc4c1a43e9053cfdc414356eea24bdfad
Author: Chris Wilson
Date: Thu Aug 4 16:32:25 2016 +0100
drm/i915: Split insertion/binding of an object into the VM
It is useful to have this trace as it pairs nicely with the vma_unbind
one
On Fri, Jan 20, 2017 at 01:35:21PM -0800, Daniele Ceraolo Spurio wrote:
>
>
> On 20/01/17 13:28, Chris Wilson wrote:
> >On Fri, Jan 20, 2017 at 01:16:13PM -0800, Daniele Ceraolo Spurio wrote:
> >>Ping. can anyone review/comment on this?
> >>
> >>Thanks,
> >>Daniele
> >>
> >>On 12/01/17 14:21,
drivers/gpu/drm/i915/i915_cmd_parser.c:808:23: error: not an lvalue
drivers/gpu/drm/i915/i915_cmd_parser.c:811:23: error: not an lvalue
drivers/gpu/drm/i915/i915_cmd_parser.c:814:23: error: not an lvalue
drivers/gpu/drm/i915/i915_cmd_parser.c:808:23: error: not an lvalue
The sgt iterators cause an
drivers/gpu/drm/i915/i915_gpu_error.c:846 i915_error_object_create() warn:
statement has no effect 7
everywhere they are used. If we change the code slightly, we can achieve
the same increment without altering the output or raising a warning.
textdata bss
== Series Details ==
Series: drm/i915: reinstate call to trace_i915_vma_bind (rev2)
URL : https://patchwork.freedesktop.org/series/17929/
State : success
== Summary ==
Series 17929v2 drm/i915: reinstate call to trace_i915_vma_bind
Ping. can anyone review/comment on this?
Thanks,
Daniele
On 12/01/17 14:21, daniele.ceraolospu...@intel.com wrote:
From: Daniele Ceraolo Spurio
The call went away in:
commit 3b16525cc4c1a43e9053cfdc414356eea24bdfad
Author: Chris Wilson
== Series Details ==
Series: series starting with [1/2] drm/i915: Squelch smatch warning for
statement with no effect
URL : https://patchwork.freedesktop.org/series/18326/
State : success
== Summary ==
Series 18326v1 Series without cover letter
On 20/01/17 13:28, Chris Wilson wrote:
On Fri, Jan 20, 2017 at 01:16:13PM -0800, Daniele Ceraolo Spurio wrote:
Ping. can anyone review/comment on this?
Thanks,
Daniele
On 12/01/17 14:21, daniele.ceraolospu...@intel.com wrote:
From: Daniele Ceraolo Spurio
On Fri, Jan 20, 2017 at 04:28:23PM +0100, Michał Winiarski wrote:
> HuC authentication is called even if HuC firmware is not present in the
> system, leading to NULL ptr dereference on not allocated gem_object.
> Let's avoid trying to authenticate HuC if its firmware is not loaded
> successfully.
On Fri, Jan 20, 2017 at 1:32 AM, Ander Conselvan De Oliveira
wrote:
> On Thu, 2017-01-19 at 10:39 -0800, Rodrigo Vivi wrote:
>> According to wa_database this Wa persist on GLK as it was on BXT.
>>
>> Cc: Tim Gore
>> Cc: Mika Kuoppala
On Fri, Jan 20, 2017 at 04:56:08PM +0100, Michał Winiarski wrote:
> HuC firmware is mapped at GuC accessible range. Let's add an assert to
> verify that.
>
> v2: Split from previous commit (Michał)
> v3: Oops, hit send before compiling, s/huc_fw/huc->fw
And now I've amended the wrong patch...
On Thu, Jan 12, 2017 at 3:47 AM, Ander Conselvan de Oliveira
wrote:
> Apply workarounds to Geminilake, and annoatate those that are applied
> uncondionally when they apply to GLK based on the workaround database.
>
> Signed-off-by: Ander Conselvan de
HuC authentication is called even if HuC firmware is not present in the
system, leading to NULL ptr dereference on not allocated gem_object.
Let's avoid trying to authenticate HuC if its firmware is not loaded
succesfully.
While I'm here let's also assert that HuC vma is placed in GuC
accessible
On Fri, Jan 20, 2017 at 04:28:44PM +0200, Ander Conselvan de Oliveira wrote:
> Parameters tile_size, tile_width and tile_height were passed in the
> wrong order to _intel_adjust_tile_offset() when calculating the rotated
> offsets.
>
> This doesn't fix any user visible bug, since for packaged
On Fri, Jan 20, 2017 at 04:28:45PM +0200, Ander Conselvan de Oliveira wrote:
> In intel_crtc_disable_noatomic(), bail on a failure to allocate an
> atomic state to avoid a NULL pointer dereference.
>
> Found by coverity.
>
> Fixes: 4a80655827af ("drm/i915: Pass atomic state to crtc
On Fri, Jan 20, 2017 at 04:28:42PM +0200, Ander Conselvan de Oliveira wrote:
> In the path where intel_crt_detect_ddc() detects a CRT, if would return
> true without freeing the edid.
>
> Found by coverity.
>
> Fixes: a2bd1f541f19 ("drm/i915: check whether we actually received an
> edid in
On Fri, 20 Jan 2017, Ander Conselvan de Oliveira
wrote:
> In the path where intel_crt_detect_ddc() detects a CRT, if would return
> true without freeing the edid.
>
> Found by coverity.
>
> Fixes: a2bd1f541f19 ("drm/i915: check whether we actually received
On Fri, Jan 20, 2017 at 03:54:30PM +0100, Michał Winiarski wrote:
> HuC authentication is called even if HuC firmware is not present in the
> system, leading to NULL ptr dereference on not allocated gem_object.
> Let's avoid trying to authenticate HuC if its firmware is not loaded
> succesfully.
>
== Series Details ==
Series: series starting with drm/i915/crt: Keep the EDID for the whole detect
cycle (rev2)
URL : https://patchwork.freedesktop.org/series/18297/
State : failure
== Summary ==
Series 18297v2 Series without cover letter
== Series Details ==
Series: drm/i915/error: use rb_entry()
URL : https://patchwork.freedesktop.org/series/18298/
State : failure
== Summary ==
Series 18298v1 drm/i915/error: use rb_entry()
https://patchwork.freedesktop.org/api/1.0/series/18298/revisions/1/mbox/
Test gem_busy:
HuC authentication is called even if HuC firmware is not present in the
system, leading to NULL ptr dereference on not allocated gem_object.
Let's avoid trying to authenticate HuC if its firmware is not loaded
successfully.
Fixes: dac84a388528 ("drm/i915/huc: Support HuC authentication")
v2:
HuC firmware is mapped at GuC accessible range. Let's add an assert to
verify that.
Cc: Anusha Srivatsa
Cc: Arkadiusz Hiler
Cc: Chris Wilson
Cc: Michal Wajdeczko
Signed-off-by: Michał
On Fri, 20 Jan 2017, Manasi Navare wrote:
> v3:
> * Fix the conventions in bit definitions (Jani Nikula)
> v2:
> * Add all the other DP Complianec TEST register defs (Jani Nikula)
> Cc: dri-de...@lists.freedesktop.org
> Cc: Jani Nikula
>
On Fri, Jan 20, 2017 at 04:28:24PM +0100, Michał Winiarski wrote:
> HuC firmware is mapped at GuC accessible range. Let's add an assert to
> verify that.
>
> Cc: Anusha Srivatsa
> Cc: Arkadiusz Hiler
> Cc: Chris Wilson
There is no point in setting intel_dp->compliance.test_type, and
proceeding with the autotests, if we're about to NAK the request. Some
drive-by cleanups while at it.
Cc: Manasi Navare
Signed-off-by: Jani Nikula
---
HuC firmware is mapped at GuC accessible range. Let's add an assert to
verify that.
v2: Split from previous commit (Michał)
v3: Oops, hit send before compiling, s/huc_fw/huc->fw
Cc: Anusha Srivatsa
Cc: Arkadiusz Hiler
Cc: Chris Wilson
== Series Details ==
Series: series starting with [1/4] drm/i915: Don't leak edid in
intel_crt_detect_ddc()
URL : https://patchwork.freedesktop.org/series/18297/
State : warning
== Summary ==
Series 18297v1 Series without cover letter
On Fri, Jan 20, 2017 at 04:28:43PM +0200, Ander Conselvan de Oliveira wrote:
> An error in the condition for avoiding the call to intel_hpd_poll_init()
> for valleyview and cherryview from intel_runtime_suspend() caused it to
> be called unconditionally. Fix it.
>
> Found by coverity.
>
> Fixes:
On Fri, 20 Jan 2017, Manasi Navare wrote:
> This patch adds support to handle automated DP compliance
> link training test requests. This patch has been tested with
> Unigraf DPR-120 DP Compliance device for testing Link
> Training Compliance.
> After we get a short
From: Ville Syrjälä
We are missing the AUX_DIST registers for pipes A and B. Add them,
and move the pipe C AUX_DIST registers next to the AUX_OFFSET registers
for a bit more convenience.
Signed-off-by: Ville Syrjälä
---
== Series Details ==
Series: Add support for Legacy HDMI audio drivers (rev5)
URL : https://patchwork.freedesktop.org/series/16254/
State : failure
== Summary ==
Series 16254v5 Add support for Legacy HDMI audio drivers
https://patchwork.freedesktop.org/api/1.0/series/16254/revisions/5/mbox/
On Fri, Jan 20, 2017 at 10:15:09AM +, Chris Wilson wrote:
> GT interrupts are very, very frequent as they are used for submitting
> every request to the hardware (thanks be to execlists). Given their
> prevalence and the comparity rarity of display interrupts, if we do
> receive an IRQ and we
On Thu, Dec 01, Olaf Hering wrote:
> On Wed, Nov 16, Olaf Hering wrote:
> > During boot into a current openSUSE Tumbleweed 20161108 this laptop
> > starts to hang sometimes with 4.8.x. Today I was able to catch this
> > crash in __wake_up_common caused by i915 or drm or whatever:
> > ...
> > [
On to, 2017-01-19 at 19:26 +, Chris Wilson wrote:
> gen2 has a different tiling pattern, and a fixed tile_height. Pass
> along the gen so that we the computed tile_row is large enough to align
> with gen2 fences.
>
> Reported-by: Ville Syrjälä
> Signed-off-by:
On to, 2017-01-19 at 19:26 +, Chris Wilson wrote:
> Disallow creation of a vma that is larger than the available address
> space, or triggers an overflow on fence expansion.
>
> Testcase: igt/gem_exec_reloc/gtt-32
> Signed-off-by: Chris Wilson
> Cc: Joonas Lahtinen
On pe, 2017-01-20 at 10:36 +, Chris Wilson wrote:
> On Thu, Jan 19, 2017 at 09:44:23PM +0200, Ville Syrjälä wrote:
> >
> > Still inaccurate for 915+Y, but if this is only used to compute the tile
> > row size it'll just give a needlessly large answer and so should be
> > safe.
>
> The
On to, 2017-01-19 at 19:26 +, Chris Wilson wrote:
> VMA (and their objects) are supposed to composed of whole pages. Add an
> assert to catch any invalid construct when we create the VMA.
>
> Signed-off-by: Chris Wilson
> Cc: Mika Kuoppala
Hi Guys:
Please don't merge this patch at this time as I found another problem
about alias PPGTT.
It seems the alias PPGTT on GEN8+ is also broken under native i915. The first
allocate_va_range() in alias PPGTT initialization path will allocate all the
page tables and the next
Patches 1-4 and 6 are
Reviewed-by: Petri Latvala
On Thu, Jan 19, 2017 at 11:35:00AM -0500, Robert Foss wrote:
> This series contains a few separate fixes mostly for memory allocations
> but also some small unrelated small fixes.
>
> This series can be found here
On Fri, Jan 20, 2017 at 10:02:50AM +0200, Jani Nikula wrote:
> That said, I suppose there could be an alternative to handling pwm_get()
> failures at probe. We could just go on with our init, but schedule a
> retry later. Perhaps a bit hacky, but it would address both of the
> concerns above.
There is no point in setting intel_dp->compliance.test_type, and
proceeding with the autotests, if we're about to NAK the request. Some
drive-by cleanups while at it.
v2: look at the ACK bit, as the result may also contain
TEST_EDID_CHECKSUM_WRITE
Cc: Manasi Navare
On 20/01/17 18:44, Jani Nikula wrote:
On Fri, 20 Jan 2017, Martin Peres wrote:
On 19/01/17 11:18, Jani Nikula wrote:
On Wed, 18 Jan 2017, Martin Peres wrote:
On 16/12/16 15:48, Daniel Vetter wrote:
On Fri, Dec 16, 2016 at
== Series Details ==
Series: series starting with [v3,1/2] drm/i915/huc: Avoid attempting to
authenticate non-existent fw (rev3)
URL : https://patchwork.freedesktop.org/series/18301/
State : failure
== Summary ==
Series 18301v3 Series without cover letter
On Fri, Jan 20, 2017 at 05:33:51PM +0200, Jani Nikula wrote:
> On Fri, 20 Jan 2017, Manasi Navare wrote:
> > v3:
> > * Fix the conventions in bit definitions (Jani Nikula)
> > v2:
> > * Add all the other DP Complianec TEST register defs (Jani Nikula)
> > Cc:
On Thu, Jan 19, 2017 at 10:56 PM, Jani Nikula wrote:
> On Fri, 20 Jan 2017, Anusha Srivatsa wrote:
>> With GLK was introduced IS_LP.
>> With this, we can use IS_GEN9 and IS_LP to put Skylake
>> and Kabylake in the same bucket. The main intention
On 1/20/17 5:15 AM, Takashi Iwai wrote:
On Fri, 20 Jan 2017 23:22:31 +0100,
Jerome Anand wrote:
+ had_ops_v1 = had_ops_v1;/* unused */
Until now I didn't realize that the whole v1 stuff is never used in
the current patchset. Will it be ever used in future? If not, can't
we
HuC authentication is called even if HuC firmware is not present in the
system, leading to NULL ptr dereference on not allocated gem_object.
Let's avoid trying to authenticate HuC if its firmware is not loaded
successfully.
Fixes: dac84a388528 ("drm/i915/huc: Support HuC authentication")
v2:
On 19/01/17 11:18, Jani Nikula wrote:
On Wed, 18 Jan 2017, Martin Peres wrote:
On 16/12/16 15:48, Daniel Vetter wrote:
On Fri, Dec 16, 2016 at 12:29:05PM +0200, Jani Nikula wrote:
The two remaining patches from [1], rebased.
BR,
Jani.
[1]
On Fri, 20 Jan 2017, Martin Peres wrote:
> On 19/01/17 11:18, Jani Nikula wrote:
>> On Wed, 18 Jan 2017, Martin Peres wrote:
>>> On 16/12/16 15:48, Daniel Vetter wrote:
On Fri, Dec 16, 2016 at 12:29:05PM +0200, Jani Nikula wrote:
== Series Details ==
Series: drm/i915/dp: do not proceed with autotests if we don't ACK them
URL : https://patchwork.freedesktop.org/series/18305/
State : success
== Summary ==
Series 18305v1 drm/i915/dp: do not proceed with autotests if we don't ACK them
== Series Details ==
Series: drm/i915/huc: Avoid attempting to authenticate non-existent fw
URL : https://patchwork.freedesktop.org/series/18300/
State : warning
== Summary ==
Series 18300v1 drm/i915/huc: Avoid attempting to authenticate non-existent fw
On 19/01/17 13:34, Ville Syrjälä wrote:
On Wed, Jan 18, 2017 at 11:05:18PM +0200, Martin Peres wrote:
On 16/12/16 15:48, Daniel Vetter wrote:
On Fri, Dec 16, 2016 at 12:29:05PM +0200, Jani Nikula wrote:
The two remaining patches from [1], rebased.
BR,
Jani.
[1]
On Fri, 20 Jan 2017, Manasi Navare wrote:
> On Fri, Jan 20, 2017 at 05:33:51PM +0200, Jani Nikula wrote:
>> On Fri, 20 Jan 2017, Manasi Navare wrote:
>> > v3:
>> > * Fix the conventions in bit definitions (Jani Nikula)
>> > v2:
>> > * Add all
On Fri, Jan 20, 2017 at 04:58:51PM +0100, Michał Winiarski wrote:
> On Fri, Jan 20, 2017 at 04:56:08PM +0100, Michał Winiarski wrote:
> > HuC firmware is mapped at GuC accessible range. Let's add an assert to
> > verify that.
> >
> > v2: Split from previous commit (Michał)
> > v3: Oops, hit send
Add changes reflecting the new support for dynamic number of planes per pipe.
Signed-off-by: Robert Foss
---
tests/kms_mmio_vs_cs_flip.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/kms_mmio_vs_cs_flip.c b/tests/kms_mmio_vs_cs_flip.c
Add changes reflecting the new support for dynamic number of planes per pipe.
Signed-off-by: Robert Foss
---
tests/kms_busy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/kms_busy.c b/tests/kms_busy.c
index 1ae5d7fb..e6276927 100644
---
Add changes reflecting the new support for dynamic number of planes per pipe.
Signed-off-by: Robert Foss
---
tests/kms_panel_fitting.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/tests/kms_panel_fitting.c
Add changes reflecting the new support for dynamic number of planes per pipe.
Signed-off-by: Robert Foss
---
tests/kms_legacy_colorkey.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tests/kms_legacy_colorkey.c b/tests/kms_legacy_colorkey.c
Add changes reflecting the new support for dynamic number of planes per pipe.
Signed-off-by: Robert Foss
---
tests/kms_cursor_legacy.c | 32 ++--
1 file changed, 18 insertions(+), 14 deletions(-)
diff --git a/tests/kms_cursor_legacy.c
Add changes reflecting the new support for dynamic number of planes per pipe.
Signed-off-by: Robert Foss
---
tests/kms_atomic_transition.c | 27 +--
1 file changed, 13 insertions(+), 14 deletions(-)
diff --git a/tests/kms_atomic_transition.c
Add changes reflecting the new support for dynamic number of planes per pipe.
Signed-off-by: Robert Foss
---
tests/kms_cursor_crc.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/tests/kms_cursor_crc.c b/tests/kms_cursor_crc.c
index
In upcoming drm-misc-next changes, the number of planes per pipe has
been increased as more than one primary plane can be associated with
a pipe.
The simple fix for this would be to simply bump hardcoded value for
number of frames per pipe.
But a better solution would be to add support for
Add an index property which helps accessing the corresponding
igt_plane_t structure through the igt_*_get_plane() functions.
Signed-off-by: Robert Foss
---
lib/igt_kms.c| 12 ++--
lib/igt_kms.h| 1 +
tests/kms_plane_lowres.c | 2 +-
3
Add changes reflecting the new support for dynamic number of planes per pipe.
Signed-off-by: Robert Foss
---
tests/kms_pipe_color.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/kms_pipe_color.c b/tests/kms_pipe_color.c
index
Add changes reflecting the new support for dynamic number of planes per pipe.
Signed-off-by: Robert Foss
---
tests/kms_plane.c | 94 ++-
1 file changed, 52 insertions(+), 42 deletions(-)
diff --git
Add changes reflecting the new support for dynamic number of planes per pipe.
Signed-off-by: Robert Foss
---
tests/kms_mmap_write_crc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/kms_mmap_write_crc.c b/tests/kms_mmap_write_crc.c
index
Add changes reflecting the new support for dynamic number of planes per pipe.
Signed-off-by: Robert Foss
---
tests/kms_flip_event_leak.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/kms_flip_event_leak.c b/tests/kms_flip_event_leak.c
index
Add changes reflecting the new support for dynamic number of planes per pipe.
Signed-off-by: Robert Foss
---
tests/kms_chv_cursor_fail.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/kms_chv_cursor_fail.c b/tests/kms_chv_cursor_fail.c
Add changes reflecting the new support for dynamic number of planes per pipe.
Signed-off-by: Robert Foss
---
tests/kms_crtc_background_color.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/kms_crtc_background_color.c
Rename these properties to have them use the same naming convention
as the igt_*_t structs.
Signed-off-by: Robert Foss
---
lib/igt_kms.c| 16 +---
lib/igt_kms.h| 4 ++--
tests/kms_plane_lowres.c | 10 +-
3 files changed, 16
Rework kmstest_crtc and kmstest_plane structs and their usage
to not depend on a static plane count.
Signed-off-by: Robert Foss
---
lib/igt_kms.c | 47 ++-
lib/igt_kms.h | 4 ++--
2 files changed, 32 insertions(+), 19
Add changes reflecting the new support for dynamic number of planes per pipe.
Signed-off-by: Robert Foss
---
tests/kms_fence_pin_leak.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/kms_fence_pin_leak.c b/tests/kms_fence_pin_leak.c
index
This series implements dynamic plane count support in lib/igt_kms and modifies
all of the tests that rely on a static plane count.
Currently it has has gone through incomplete testing on vc4 (many tests are
intel only)
and intel (on intel-ci).
This series can be found in branch
1 - 100 of 160 matches
Mail list logo