Skip to content

Instantly share code, notes, and snippets.

cat ~/.ssh/id_rsa.pub | ssh [email protected] "mkdir -p ~/.ssh; cat >> ~/.ssh/authorized_keys"
# interfaces(5) file used by ifup(8) and ifdown(8)
# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX_DEFAULT="ignore_loglevel text console=tty0 console=ttyS0,115200n8 kmemleak=on drm.debug=0xe i915.enable_execlists=1 i915.enable_ppgtt=3"
GRUB_CMDLINE_LINUX=""
@mthierry
mthierry / -
Created November 27, 2015 11:56
diff --git a/tests/all.py b/tests/all.py
index 6c8d8ba..02f5231 100644
--- a/tests/all.py
+++ b/tests/all.py
@@ -111,7 +111,7 @@ def add_msaa_visual_plain_tests(group, args):
glean = {}
glean['basic'] = GleanTest('basic')
glean['api2'] = GleanTest('api2')
-glean['makeCurrent'] = GleanTest('makeCurrent')
+#MT: glean['makeCurrent'] = GleanTest('makeCurrent')
@mthierry
mthierry / -
Created November 12, 2015 11:51
commit c6c90dd2d7c4895a360b0ca11b440cdf7f82c143
Author: Chris Wilson <[email protected]>
Date: Fri Oct 16 11:59:00 2015 +0100
FROM_UPSTREAM [VPG]: drm/i915: Add soft-pinning API for execbuffer
Userspace can pass in an offset that it presumes the object is located
at. The kernel will then do its utmost to fit the object into that
location. The assumption is that userspace is handling its own object
locations (for example along with full-ppgtt) and that the kernel will
adb reboot bootloader
read -r -p "Continue flashing? [y/N] " response
response=${response,,} # tolower
if [[ $response =~ ^(yes|y)$ ]]
then
#flash
fastboot flash boot myboot.img
fastboot reboot
fi
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index 8159339..b08f587 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -3438,6 +3438,13 @@ i915_gem_object_bind_to_vm(struct drm_i915_gem_object *obj,
if (IS_ERR(vma))
goto err_unpin;
+ DRM_DEBUG_DRIVER("end = 0x%llx\n", end);
+ if (!(0) &&
diff --git a/drivers/gpu/drm/i915/intel_lrc.c b/drivers/gpu/drm/i915/intel_lrc.c
index c5c7ff8..685bb15 100644
--- a/drivers/gpu/drm/i915/intel_lrc.c
+++ b/drivers/gpu/drm/i915/intel_lrc.c
@@ -1287,7 +1287,7 @@ static int intel_init_workaround_bb(struct intel_engine_cs *ring)
WARN_ON(ring->id != RCS);
/* update this when WA for higher Gen are added */
- if (WARN(INTEL_INFO(ring->dev)->gen > 8,
+ if (WARN_ONCE(INTEL_INFO(ring->dev)->gen > 8,
From 47f1f8baeba0e01891dd3219a880e2202b788bd2 Mon Sep 17 00:00:00 2001
From: Michel Thierry <[email protected]>
Date: Wed, 18 Mar 2015 14:11:28 +0000
Subject: [PATCH] drm/i915/gen8: Initialize PDPs
Similar to PDs, while setting up a page directory pointer, make all entries
of the pdp point to the scratch pdp before mapping (and make all its entries
point to the scratch page); this is to be safe in case of out of bound
access or proactive prefetch.
From 5f233ff93c1914d4dfd7893c70e8509cd0db0ca6 Mon Sep 17 00:00:00 2001
From: Michel Thierry <[email protected]>
Date: Tue, 30 Jun 2015 15:47:46 +0100
Subject: [PATCH v2 2/2] configure.ac: bump version to 2.4.63
Signed-off-by: Michel Thierry <[email protected]>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)