From daf67f7baa418237b46c4b70365e333aa86e4cee Mon Sep 17 00:00:00 2001 From: Alexander Boettcher Date: Fri, 8 Jan 2016 16:27:05 +0100 Subject: [PATCH] intel_fb: remove x201 workaround The workaround is no longer needed as we now propagate the proper device ID as BDF to the kernel in the platform driver. Issue #1848 --- repos/dde_linux/patches/intel_fb_x201.patch | 15 --------------- repos/dde_linux/ports/dde_linux.hash | 2 +- 2 files changed, 1 insertion(+), 16 deletions(-) delete mode 100644 repos/dde_linux/patches/intel_fb_x201.patch diff --git a/repos/dde_linux/patches/intel_fb_x201.patch b/repos/dde_linux/patches/intel_fb_x201.patch deleted file mode 100644 index c5b44d3a33..0000000000 --- a/repos/dde_linux/patches/intel_fb_x201.patch +++ /dev/null @@ -1,15 +0,0 @@ -+++ a/drivers/gpu/drm/i915/i915_gem_gtt.c -+++ b/drivers/gpu/drm/i915/i915_gem_gtt.c -@@ -1034,7 +1034,11 @@ - unsigned int num_entries, - bool unused) - { -- intel_gtt_clear_range(first_entry, num_entries); -+ if (!unused) -+ intel_gtt_clear_range(first_entry, num_entries); -+ else -+ /* Fixes DMA issues on Lenovo X201 */ -+ printk("Disable %s for Genode\n", __func__); - } - - diff --git a/repos/dde_linux/ports/dde_linux.hash b/repos/dde_linux/ports/dde_linux.hash index 41a9e11726..19deee2a11 100644 --- a/repos/dde_linux/ports/dde_linux.hash +++ b/repos/dde_linux/ports/dde_linux.hash @@ -1 +1 @@ -e98972035a5cb6cb8651d9ec0f7a30de50713a69 +2b0757d0d4a6d91906a9e52fd785b08d13f24aad