* [CI] no-primary
@ 2019-03-25 21:11 Chris Wilson
2019-03-26 11:06 ` ✗ Fi.CI.CHECKPATCH: warning for no-primary (rev2) Patchwork
2019-03-26 11:37 ` ✗ Fi.CI.BAT: failure " Patchwork
0 siblings, 2 replies; 3+ messages in thread
From: Chris Wilson @ 2019-03-25 21:11 UTC (permalink / raw)
To: intel-gfx
---
drivers/gpu/drm/drm_debugfs.c | 2 +-
drivers/gpu/drm/drm_drv.c | 12 ++++++++----
drivers/gpu/drm/drm_prime.c | 2 +-
3 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/drm_debugfs.c b/drivers/gpu/drm/drm_debugfs.c
index f8468eae0503..f7044ff82f9c 100644
--- a/drivers/gpu/drm/drm_debugfs.c
+++ b/drivers/gpu/drm/drm_debugfs.c
@@ -443,7 +443,7 @@ int drm_debugfs_connector_add(struct drm_connector *connector)
struct drm_minor *minor = connector->dev->primary;
struct dentry *root, *ent;
- if (!minor->debugfs_root)
+ if (!minor || !minor->debugfs_root)
return -1;
root = debugfs_create_dir(connector->name, minor->debugfs_root);
diff --git a/drivers/gpu/drm/drm_drv.c b/drivers/gpu/drm/drm_drv.c
index 80b8daff8b1f..928efe235064 100644
--- a/drivers/gpu/drm/drm_drv.c
+++ b/drivers/gpu/drm/drm_drv.c
@@ -689,9 +689,11 @@ int drm_dev_init(struct drm_device *dev,
goto err_minors;
}
- ret = drm_minor_alloc(dev, DRM_MINOR_PRIMARY);
- if (ret)
- goto err_minors;
+ if (drm_core_check_feature(dev, DRIVER_LEGACY | DRIVER_MODESET)) {
+ ret = drm_minor_alloc(dev, DRM_MINOR_PRIMARY);
+ if (ret)
+ goto err_minors;
+ }
ret = drm_ht_create(&dev->map_hash, 12);
if (ret)
@@ -1009,7 +1011,9 @@ int drm_dev_register(struct drm_device *dev, unsigned long flags)
driver->name, driver->major, driver->minor,
driver->patchlevel, driver->date,
dev->dev ? dev_name(dev->dev) : "virtual device",
- dev->primary->index);
+ dev->primary ? dev->primary->index :
+ dev->render ? dev->render->index :
+ -1);
goto out_unlock;
diff --git a/drivers/gpu/drm/drm_prime.c b/drivers/gpu/drm/drm_prime.c
index dc079efb3b0f..9e821a9c607e 100644
--- a/drivers/gpu/drm/drm_prime.c
+++ b/drivers/gpu/drm/drm_prime.c
@@ -676,7 +676,7 @@ int drm_gem_prime_mmap(struct drm_gem_object *obj, struct vm_area_struct *vma)
}
/* Used by drm_gem_mmap() to lookup the GEM object */
- priv->minor = obj->dev->primary;
+ priv->minor = obj->dev->primary ?: obj->dev->render;
fil->private_data = priv;
ret = drm_vma_node_allow(&obj->vma_node, priv);
--
2.20.1
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 3+ messages in thread
* ✗ Fi.CI.CHECKPATCH: warning for no-primary (rev2)
2019-03-25 21:11 [CI] no-primary Chris Wilson
@ 2019-03-26 11:06 ` Patchwork
2019-03-26 11:37 ` ✗ Fi.CI.BAT: failure " Patchwork
1 sibling, 0 replies; 3+ messages in thread
From: Patchwork @ 2019-03-26 11:06 UTC (permalink / raw)
To: Chris Wilson; +Cc: intel-gfx
== Series Details ==
Series: no-primary (rev2)
URL : https://patchwork.freedesktop.org/series/58072/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip
b539f4130bdf no-primary
-:8: WARNING:COMMIT_MESSAGE: Missing commit description - Add an appropriate one
-:62: ERROR:MISSING_SIGN_OFF: Missing Signed-off-by: line(s)
total: 1 errors, 1 warnings, 0 checks, 40 lines checked
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 3+ messages in thread
* ✗ Fi.CI.BAT: failure for no-primary (rev2)
2019-03-25 21:11 [CI] no-primary Chris Wilson
2019-03-26 11:06 ` ✗ Fi.CI.CHECKPATCH: warning for no-primary (rev2) Patchwork
@ 2019-03-26 11:37 ` Patchwork
1 sibling, 0 replies; 3+ messages in thread
From: Patchwork @ 2019-03-26 11:37 UTC (permalink / raw)
To: Chris Wilson; +Cc: intel-gfx
== Series Details ==
Series: no-primary (rev2)
URL : https://patchwork.freedesktop.org/series/58072/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_5814 -> Patchwork_12594
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_12594 absolutely need to be
verified manually.
If you think the reported changes have nothing to do with the changes
introduced in Patchwork_12594, please notify your bug team to allow them
to document this new failure mode, which will reduce false positives in CI.
External URL: https://patchwork.freedesktop.org/api/1.0/series/58072/revisions/2/mbox/
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_12594:
### IGT changes ###
#### Possible regressions ####
* igt@gem_ringfill@basic-default:
- fi-icl-u2: NOTRUN -> SKIP +25
* igt@prime_vgem@basic-busy-default:
- fi-icl-u3: NOTRUN -> SKIP +25
Known issues
------------
Here are the changes found in Patchwork_12594 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@amdgpu/amd_cs_nop@fork-gfx0:
- fi-icl-u2: NOTRUN -> SKIP [fdo#109315] +17
* igt@amdgpu/amd_cs_nop@sync-fork-compute0:
- fi-icl-u3: NOTRUN -> SKIP [fdo#109315] +17
* igt@gem_ctx_create@basic-files:
- fi-gdg-551: NOTRUN -> SKIP [fdo#109271] +124
* igt@gem_exec_basic@gtt-bsd1:
- fi-icl-u3: NOTRUN -> SKIP [fdo#109276] +7
* igt@gem_exec_basic@readonly-bsd1:
- fi-icl-u2: NOTRUN -> SKIP [fdo#109276] +7
* igt@gem_exec_parse@basic-allowed:
- fi-icl-u2: NOTRUN -> SKIP [fdo#109289] +1
* igt@gem_exec_parse@basic-rejected:
- fi-icl-u3: NOTRUN -> SKIP [fdo#109289] +1
* igt@gem_ringfill@basic-default:
- fi-bdw-gvtdvm: PASS -> SKIP [fdo#109271] +25
* igt@gem_ringfill@basic-default-fd:
- fi-skl-6700k2: PASS -> SKIP [fdo#109271] +25
* igt@gem_ringfill@basic-default-forked:
- fi-skl-gvtdvm: PASS -> SKIP [fdo#109271] +25
- fi-hsw-peppy: PASS -> SKIP [fdo#109271] +24
- fi-kbl-x1275: PASS -> SKIP [fdo#109271] +25
- fi-kbl-7500u: PASS -> SKIP [fdo#109271] +4
- fi-blb-e6850: PASS -> SKIP [fdo#109271] +4
* igt@i915_selftest@live_contexts:
- fi-icl-u3: NOTRUN -> DMESG-FAIL [fdo#108569]
- fi-icl-u2: NOTRUN -> DMESG-FAIL [fdo#108569]
* igt@i915_selftest@live_execlists:
- fi-apl-guc: PASS -> INCOMPLETE [fdo#103927] / [fdo#109720]
* igt@kms_busy@basic-flip-a:
- fi-gdg-551: NOTRUN -> FAIL [fdo#103182]
* igt@kms_busy@basic-flip-c:
- fi-byt-j1900: NOTRUN -> SKIP [fdo#109271] / [fdo#109278]
- fi-gdg-551: NOTRUN -> SKIP [fdo#109271] / [fdo#109278]
- fi-byt-n2820: NOTRUN -> SKIP [fdo#109271] / [fdo#109278]
* igt@kms_chamelium@dp-edid-read:
- fi-icl-u2: NOTRUN -> SKIP [fdo#109316] +2
* igt@kms_chamelium@hdmi-crc-fast:
- fi-byt-j1900: NOTRUN -> SKIP [fdo#109271] +78
* igt@kms_chamelium@hdmi-edid-read:
- fi-icl-u3: NOTRUN -> SKIP [fdo#109284] +8
* igt@kms_chamelium@vga-hpd-fast:
- fi-icl-u2: NOTRUN -> SKIP [fdo#109309] +1
* igt@kms_force_connector_basic@prune-stale-modes:
- fi-icl-u2: NOTRUN -> SKIP [fdo#109285] +3
- fi-icl-u3: NOTRUN -> SKIP [fdo#109285] +3
* igt@kms_frontbuffer_tracking@basic:
- fi-icl-u3: NOTRUN -> FAIL [fdo#103167]
- fi-icl-u2: NOTRUN -> FAIL [fdo#103167]
- fi-byt-clapper: PASS -> FAIL [fdo#103167]
* igt@kms_pipe_crc_basic@nonblocking-crc-pipe-b:
- fi-byt-clapper: PASS -> FAIL [fdo#107362]
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a:
- fi-byt-clapper: PASS -> FAIL [fdo#103191] / [fdo#107362]
* igt@prime_vgem@basic-busy-default:
- fi-bsw-n3050: PASS -> SKIP [fdo#109271] +24
* igt@prime_vgem@basic-fence-flip:
- fi-hsw-4770r: PASS -> SKIP [fdo#109271] +25
* igt@prime_vgem@basic-fence-read:
- fi-bsw-kefka: PASS -> SKIP [fdo#109271] +24
- fi-ilk-650: PASS -> SKIP [fdo#109271] +24
- fi-elk-e7500: PASS -> SKIP [fdo#109271] +24
- fi-skl-6770hq: PASS -> SKIP [fdo#109271] +25
* igt@prime_vgem@basic-fence-wait-default:
- fi-cfl-8109u: PASS -> SKIP [fdo#109271] +25
* igt@prime_vgem@basic-sync-default:
- fi-byt-n2820: NOTRUN -> SKIP [fdo#109271] +82
- fi-bxt-j4205: PASS -> SKIP [fdo#109271] +25
- fi-skl-6260u: PASS -> SKIP [fdo#109271] +25
* igt@prime_vgem@basic-wait-default:
- fi-kbl-guc: PASS -> SKIP [fdo#109271] +24
- fi-hsw-4770: PASS -> SKIP [fdo#109271] +25
* igt@prime_vgem@basic-write:
- fi-pnv-d510: PASS -> SKIP [fdo#109271] +25
- fi-skl-6600u: PASS -> SKIP [fdo#109271] +24
* igt@runner@aborted:
- fi-apl-guc: NOTRUN -> FAIL [fdo#108622] / [fdo#109720]
* igt@vgem_basic@debugfs:
- fi-skl-guc: PASS -> SKIP [fdo#109271] +25
- fi-cfl-guc: PASS -> SKIP [fdo#109271] +25
- fi-whl-u: PASS -> SKIP [fdo#109271] +24
* igt@vgem_basic@dmabuf-export:
- fi-apl-guc: PASS -> SKIP [fdo#109271] +25
- fi-cfl-8700k: PASS -> SKIP [fdo#109271] +25
- fi-kbl-r: PASS -> SKIP [fdo#109271] +24
- fi-byt-clapper: PASS -> SKIP [fdo#109271] +24
- fi-bwr-2160: PASS -> SKIP [fdo#109271] +17
* igt@vgem_basic@mmap:
- fi-ivb-3770: PASS -> SKIP [fdo#109271] +25
- fi-snb-2520m: PASS -> SKIP [fdo#109271] +24
* igt@vgem_basic@setversion:
- fi-kbl-8809g: PASS -> SKIP [fdo#109271] +26
* igt@vgem_basic@sysfs:
- fi-bdw-5557u: PASS -> SKIP [fdo#109271] +25
* igt@vgem_basic@unload:
- fi-blb-e6850: NOTRUN -> SKIP [fdo#109271] +48
#### Possible fixes ####
* igt@i915_selftest@live_uncore:
- fi-skl-gvtdvm: DMESG-FAIL [fdo#110210] -> PASS
- fi-ivb-3770: DMESG-FAIL [fdo#110210] -> PASS
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b:
- fi-blb-e6850: INCOMPLETE [fdo#107718] -> PASS
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103182]: https://bugs.freedesktop.org/show_bug.cgi?id=103182
[fdo#103191]: https://bugs.freedesktop.org/show_bug.cgi?id=103191
[fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
[fdo#107362]: https://bugs.freedesktop.org/show_bug.cgi?id=107362
[fdo#107718]: https://bugs.freedesktop.org/show_bug.cgi?id=107718
[fdo#108569]: https://bugs.freedesktop.org/show_bug.cgi?id=108569
[fdo#108622]: https://bugs.freedesktop.org/show_bug.cgi?id=108622
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109276]: https://bugs.freedesktop.org/show_bug.cgi?id=109276
[fdo#109278]: https://bugs.freedesktop.org/show_bug.cgi?id=109278
[fdo#109284]: https://bugs.freedesktop.org/show_bug.cgi?id=109284
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109309]: https://bugs.freedesktop.org/show_bug.cgi?id=109309
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#109316]: https://bugs.freedesktop.org/show_bug.cgi?id=109316
[fdo#109720]: https://bugs.freedesktop.org/show_bug.cgi?id=109720
[fdo#110210]: https://bugs.freedesktop.org/show_bug.cgi?id=110210
Participating hosts (43 -> 40)
------------------------------
Additional (5): fi-byt-j1900 fi-icl-u2 fi-gdg-551 fi-icl-u3 fi-byt-n2820
Missing (8): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-skl-iommu fi-bdw-samus fi-snb-2600
Build changes
-------------
* Linux: CI_DRM_5814 -> Patchwork_12594
CI_DRM_5814: a0a0cf2e35724447ba6cdda8fc3c451df742028e @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4903: a4dc3d0f9ac6abf2a0ca6a4771255cb5dcb3b07b @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_12594: b539f4130bdfeebeba71f63c045f94d80973ad58 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
b539f4130bdf no-primary
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_12594/
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-03-26 11:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-25 21:11 [CI] no-primary Chris Wilson
2019-03-26 11:06 ` ✗ Fi.CI.CHECKPATCH: warning for no-primary (rev2) Patchwork
2019-03-26 11:37 ` ✗ Fi.CI.BAT: failure " Patchwork
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.