All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] drm-tip: 2018y-07m-04d-20h-25m-35s UTC integration manifest
@ 2018-07-05  6:38 Chris Wilson
  2018-07-05  6:38 ` [PATCH 2/4] drm/i915: Remove defunct i915->vm_list Chris Wilson
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Chris Wilson @ 2018-07-05  6:38 UTC (permalink / raw)
  To: intel-gfx

---
 integration-manifest | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 integration-manifest

diff --git a/integration-manifest b/integration-manifest
new file mode 100644
index 000000000000..9e016d7753f3
--- /dev/null
+++ b/integration-manifest
@@ -0,0 +1,30 @@
+drm drm-fixes 2d8aa4ef6aac566617052640e9bb07ecb9c45183
+	Merge tag 'drm-misc-fixes-2018-06-28' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes
+drm-misc drm-misc-fixes 44f9a4b0dc7563669772198e5b226cab58a00167
+	drm/bridge/sii8620: Fix link mode selection
+drm-intel drm-intel-fixes 3030deda09711e5d81eabf5cd95a567576601343
+	Merge tag 'gvt-fixes-2018-07-03' of https://github.com/intel/gvt-linux into drm-intel-fixes
+drm-amd drm-amd-fixes 2b702e72e33bbdec0764cfb6e1dd00fe1142ae55
+	Merge tag 'drm-misc-fixes-2017-09-28-1' of git://anongit.freedesktop.org/git/drm-misc into drm-fixes
+drm drm-next f29135ee4e0d4e01911ed569f731bfdb841cea6d
+	Merge v4.18-rc3 into drm-next
+drm-misc drm-misc-next-fixes 069035c5db3459b9b5f12caf3bffed9a863fa5c4
+	drm: Fix possible race conditions while unplugging DRM device
+drm-intel drm-intel-next-fixes 807cba6559cf333a74df1fbd74f0597e8e7fa020
+	Merge tag 'gvt-fixes-2018-04-19' of https://github.com/intel/gvt-linux into drm-intel-next-fixes
+drm-amd drm-amd-next-fixes 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e
+	Linux 4.14-rc1
+drm-misc drm-misc-next 968d72e6a5105a18fe17c0a8b4ef2951d0eb42dd
+	drm/savage: off by one in savage_bci_cmdbuf()
+drm-intel drm-intel-next-queued 63fd659fb1a52262a37293a9a034a912a2406b26
+	drm/i915/gtt: Pull global wc page stash under its own locking
+drm-amd drm-amd-next 754270c7c56292e97d0eff924a5d5d83f92add07
+	Merge branch 'drm-next-4.15' of git://people.freedesktop.org/~agd5f/linux into drm-next
+sound-upstream for-linus aaa23f86001bdb82d2f937c5c7bce0a1e11a6c5b
+	ALSA: hda - Handle pm failure during hotplug
+sound-upstream for-next 51d7d35817aad6f4dd0f60b80063206f1761b69b
+	Merge branch 'topic/hda-core-intel' into for-next
+drm-intel topic/core-for-CI e3aa13f8269f5966e0b1ab1684b7576c35a14dba
+	usb/icl: Work around ACPI boottime crash
+drm-misc topic/vkms 7040e5f347d4d7f242776e239670c6e2ada3b146
+	drm/vkms: Add extra information about vkms
-- 
2.18.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/4] drm/i915: Remove defunct i915->vm_list
  2018-07-05  6:38 [PATCH 1/4] drm-tip: 2018y-07m-04d-20h-25m-35s UTC integration manifest Chris Wilson
@ 2018-07-05  6:38 ` Chris Wilson
  2018-07-05  6:38 ` [PATCH 3/4] drm/i915/selftests: Use full release for local ppgtt allocation Chris Wilson
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Chris Wilson @ 2018-07-05  6:38 UTC (permalink / raw)
  To: intel-gfx

No longer used and can be removed. One less global that currently
demands struct_mutex protection.

References: e9e7dc4144cd ("drm/i915/gtt: Make gen6 page directories evictable")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
 drivers/gpu/drm/i915/i915_drv.h           | 1 -
 drivers/gpu/drm/i915/i915_gem_gtt.c       | 5 -----
 drivers/gpu/drm/i915/i915_gem_gtt.h       | 1 -
 drivers/gpu/drm/i915/selftests/mock_gtt.c | 3 ---
 4 files changed, 10 deletions(-)

diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index e5a0a65ec2e9..550e86dfbfe8 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -1744,7 +1744,6 @@ struct drm_i915_private {
 	struct drm_atomic_state *modeset_restore_state;
 	struct drm_modeset_acquire_ctx reset_ctx;
 
-	struct list_head vm_list; /* Global list of all address spaces */
 	struct i915_ggtt ggtt; /* VM representing the global address space */
 
 	struct i915_gem_mm mm;
diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c b/drivers/gpu/drm/i915/i915_gem_gtt.c
index 3326b4e29b5b..2f10f5580230 100644
--- a/drivers/gpu/drm/i915/i915_gem_gtt.c
+++ b/drivers/gpu/drm/i915/i915_gem_gtt.c
@@ -540,8 +540,6 @@ static void i915_address_space_init(struct i915_address_space *vm,
 	INIT_LIST_HEAD(&vm->active_list);
 	INIT_LIST_HEAD(&vm->inactive_list);
 	INIT_LIST_HEAD(&vm->unbound_list);
-
-	list_add_tail(&vm->global_link, &dev_priv->vm_list);
 }
 
 static void i915_address_space_fini(struct i915_address_space *vm)
@@ -553,7 +551,6 @@ static void i915_address_space_fini(struct i915_address_space *vm)
 	spin_unlock(&vm->free_pages.lock);
 
 	drm_mm_takedown(&vm->mm);
-	list_del(&vm->global_link);
 }
 
 static int __setup_page_dma(struct i915_address_space *vm,
@@ -3572,8 +3569,6 @@ int i915_ggtt_init_hw(struct drm_i915_private *dev_priv)
 
 	stash_init(&dev_priv->mm.wc_stash);
 
-	INIT_LIST_HEAD(&dev_priv->vm_list);
-
 	/* Note that we use page colouring to enforce a guard page at the
 	 * end of the address space. This is required as the CS may prefetch
 	 * beyond the end of the batch buffer, across the page boundary,
diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.h b/drivers/gpu/drm/i915/i915_gem_gtt.h
index f298e72b79ca..feda45dfd481 100644
--- a/drivers/gpu/drm/i915/i915_gem_gtt.h
+++ b/drivers/gpu/drm/i915/i915_gem_gtt.h
@@ -288,7 +288,6 @@ struct i915_address_space {
 	 * assign blame.
 	 */
 	struct drm_i915_file_private *file;
-	struct list_head global_link;
 	u64 total;		/* size addr space maps (ex. 2GB for ggtt) */
 	u64 reserved;		/* size addr space reserved */
 
diff --git a/drivers/gpu/drm/i915/selftests/mock_gtt.c b/drivers/gpu/drm/i915/selftests/mock_gtt.c
index 0da5b8c6d912..07df5c399ec1 100644
--- a/drivers/gpu/drm/i915/selftests/mock_gtt.c
+++ b/drivers/gpu/drm/i915/selftests/mock_gtt.c
@@ -74,7 +74,6 @@ mock_ppgtt(struct drm_i915_private *i915,
 	INIT_LIST_HEAD(&ppgtt->vm.inactive_list);
 	INIT_LIST_HEAD(&ppgtt->vm.unbound_list);
 
-	INIT_LIST_HEAD(&ppgtt->vm.global_link);
 	drm_mm_init(&ppgtt->vm.mm, 0, ppgtt->vm.total);
 
 	ppgtt->vm.clear_range = nop_clear_range;
@@ -106,8 +105,6 @@ void mock_init_ggtt(struct drm_i915_private *i915)
 {
 	struct i915_ggtt *ggtt = &i915->ggtt;
 
-	INIT_LIST_HEAD(&i915->vm_list);
-
 	ggtt->vm.i915 = i915;
 
 	ggtt->gmadr = (struct resource) DEFINE_RES_MEM(0, 2048 * PAGE_SIZE);
-- 
2.18.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 3/4] drm/i915/selftests: Use full release for local ppgtt allocation
  2018-07-05  6:38 [PATCH 1/4] drm-tip: 2018y-07m-04d-20h-25m-35s UTC integration manifest Chris Wilson
  2018-07-05  6:38 ` [PATCH 2/4] drm/i915: Remove defunct i915->vm_list Chris Wilson
@ 2018-07-05  6:38 ` Chris Wilson
  2018-07-05  6:38 ` [PATCH 4/4] drm/i915/selftests: Replace open-coded i915_address_space_init() Chris Wilson
  2018-07-05  7:23 ` ✗ Fi.CI.BAT: failure for series starting with [1/4] drm-tip: 2018y-07m-04d-20h-25m-35s UTC integration manifest Patchwork
  3 siblings, 0 replies; 5+ messages in thread
From: Chris Wilson @ 2018-07-05  6:38 UTC (permalink / raw)
  To: intel-gfx

We can now use the full release mechanism (i915_ppgtt_put) for our local
ppgtt allocation in igt_ppgtt_alloc.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/selftests/i915_gem_gtt.c b/drivers/gpu/drm/i915/selftests/i915_gem_gtt.c
index 4bfb0537f9be..e108fe4e0fd9 100644
--- a/drivers/gpu/drm/i915/selftests/i915_gem_gtt.c
+++ b/drivers/gpu/drm/i915/selftests/i915_gem_gtt.c
@@ -202,9 +202,8 @@ static int igt_ppgtt_alloc(void *arg)
 
 err_ppgtt_cleanup:
 	mutex_lock(&dev_priv->drm.struct_mutex);
-	ppgtt->vm.cleanup(&ppgtt->vm);
+	i915_ppgtt_put(ppgtt);
 	mutex_unlock(&dev_priv->drm.struct_mutex);
-	kfree(ppgtt);
 	return err;
 }
 
-- 
2.18.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 4/4] drm/i915/selftests: Replace open-coded i915_address_space_init()
  2018-07-05  6:38 [PATCH 1/4] drm-tip: 2018y-07m-04d-20h-25m-35s UTC integration manifest Chris Wilson
  2018-07-05  6:38 ` [PATCH 2/4] drm/i915: Remove defunct i915->vm_list Chris Wilson
  2018-07-05  6:38 ` [PATCH 3/4] drm/i915/selftests: Use full release for local ppgtt allocation Chris Wilson
@ 2018-07-05  6:38 ` Chris Wilson
  2018-07-05  7:23 ` ✗ Fi.CI.BAT: failure for series starting with [1/4] drm-tip: 2018y-07m-04d-20h-25m-35s UTC integration manifest Patchwork
  3 siblings, 0 replies; 5+ messages in thread
From: Chris Wilson @ 2018-07-05  6:38 UTC (permalink / raw)
  To: intel-gfx

Use i915_address_space_init() rather than open-code it inside
mock_ppgtt() as we will forget to keep it in sync.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
 drivers/gpu/drm/i915/selftests/mock_gtt.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/drivers/gpu/drm/i915/selftests/mock_gtt.c b/drivers/gpu/drm/i915/selftests/mock_gtt.c
index 07df5c399ec1..a140ea5c3a7c 100644
--- a/drivers/gpu/drm/i915/selftests/mock_gtt.c
+++ b/drivers/gpu/drm/i915/selftests/mock_gtt.c
@@ -70,11 +70,7 @@ mock_ppgtt(struct drm_i915_private *i915,
 	ppgtt->vm.total = round_down(U64_MAX, PAGE_SIZE);
 	ppgtt->vm.file = ERR_PTR(-ENODEV);
 
-	INIT_LIST_HEAD(&ppgtt->vm.active_list);
-	INIT_LIST_HEAD(&ppgtt->vm.inactive_list);
-	INIT_LIST_HEAD(&ppgtt->vm.unbound_list);
-
-	drm_mm_init(&ppgtt->vm.mm, 0, ppgtt->vm.total);
+	i915_address_space_init(&ppgtt->vm, i915);
 
 	ppgtt->vm.clear_range = nop_clear_range;
 	ppgtt->vm.insert_page = mock_insert_page;
-- 
2.18.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* ✗ Fi.CI.BAT: failure for series starting with [1/4] drm-tip: 2018y-07m-04d-20h-25m-35s UTC integration manifest
  2018-07-05  6:38 [PATCH 1/4] drm-tip: 2018y-07m-04d-20h-25m-35s UTC integration manifest Chris Wilson
                   ` (2 preceding siblings ...)
  2018-07-05  6:38 ` [PATCH 4/4] drm/i915/selftests: Replace open-coded i915_address_space_init() Chris Wilson
@ 2018-07-05  7:23 ` Patchwork
  3 siblings, 0 replies; 5+ messages in thread
From: Patchwork @ 2018-07-05  7:23 UTC (permalink / raw)
  To: Chris Wilson; +Cc: intel-gfx

== Series Details ==

Series: series starting with [1/4] drm-tip: 2018y-07m-04d-20h-25m-35s UTC integration manifest
URL   : https://patchwork.freedesktop.org/series/45956/
State : failure

== Summary ==

Applying: drm-tip: 2018y-07m-04d-20h-25m-35s UTC integration manifest
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
Auto-merging integration-manifest
CONFLICT (add/add): Merge conflict in integration-manifest
error: Failed to merge in the changes.
Patch failed at 0001 drm-tip: 2018y-07m-04d-20h-25m-35s UTC integration manifest
Use 'git am --show-current-patch' to see the failed patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-07-05  7:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-05  6:38 [PATCH 1/4] drm-tip: 2018y-07m-04d-20h-25m-35s UTC integration manifest Chris Wilson
2018-07-05  6:38 ` [PATCH 2/4] drm/i915: Remove defunct i915->vm_list Chris Wilson
2018-07-05  6:38 ` [PATCH 3/4] drm/i915/selftests: Use full release for local ppgtt allocation Chris Wilson
2018-07-05  6:38 ` [PATCH 4/4] drm/i915/selftests: Replace open-coded i915_address_space_init() Chris Wilson
2018-07-05  7:23 ` ✗ Fi.CI.BAT: failure for series starting with [1/4] drm-tip: 2018y-07m-04d-20h-25m-35s UTC integration manifest 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.