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
This commit is contained in:
Alexander Boettcher 2016-01-08 16:27:05 +01:00 committed by Christian Helmuth
parent a258caa7ab
commit daf67f7baa
2 changed files with 1 additions and 16 deletions

View File

@ -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__);
}

View File

@ -1 +1 @@
e98972035a5cb6cb8651d9ec0f7a30de50713a69
2b0757d0d4a6d91906a9e52fd785b08d13f24aad