-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added patch to kernel to fix green screen video. Only for 4.9, but it…
… will probably need to be applied to others at some point.
- Loading branch information
1 parent
0bf7e31
commit 910879c
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
recipes-kernel/linux/linux-intel/i915_yv12_media_driver_bug.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c | ||
index 2f3b22c..17a3f71 100644 | ||
--- a/drivers/gpu/drm/i915/intel_ringbuffer.c | ||
+++ b/drivers/gpu/drm/i915/intel_ringbuffer.c | ||
@@ -901,8 +901,9 @@ static int gen9_init_workarounds(struct intel_engine_cs *engine) | ||
*/ | ||
} | ||
|
||
- /* WaEnableSamplerGPGPUPreemptionSupport:skl,bxt,kbl */ | ||
+ /* WaEnableYV12BugFixInHalfSliceChicken7:skl,bxt,kbl,glk */ | ||
WA_SET_BIT_MASKED(GEN9_HALF_SLICE_CHICKEN7, | ||
+ GEN9_ENABLE_YV12_BUGFIX | | ||
GEN9_ENABLE_GPGPU_PREEMPTION); | ||
|
||
/* Wa4x4STCOptimizationDisable:skl,bxt,kbl,glk */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
SRC_URI += "\ | ||
file://i915_yv12_media_driver_bug.patch \ | ||
" |