projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a8b009
)
drm/i915/skl: don't set the AsyncFlip performance mode for Gen9+
author
Imre Deak
<
[email protected]
>
Wed, 13 Feb 2013 15:27:34 +0000
(15:27 +0000)
committer
Daniel Vetter
<
[email protected]
>
Wed, 24 Sep 2014 12:33:15 +0000
(14:33 +0200)
The following sets the AsyncFlip performance mode for everything above
Gen6:
commit
4790cb36b3eede8fb0cca529dc1d31b9936fa24b
Author: Chris Wilson <
[email protected]
>
Date: Sun Jan 20 16:11:20 2013 +0000
drm/i915: Disable AsyncFlip performance optimisations
Starting from Gen9 the MI_MODE register layout changes and doesn't
include the above bit.
Reviewed-by: Thomas Wood <
[email protected]
>
Signed-off-by: Imre Deak <
[email protected]
>
Signed-off-by: Damien Lespiau <
[email protected]
>
Signed-off-by: Daniel Vetter <
[email protected]
>
drivers/gpu/drm/i915/intel_ringbuffer.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_ringbuffer.c
b/drivers/gpu/drm/i915/intel_ringbuffer.c
index 109de2eeb9a812a9045403542560c9d953754418..a6a64aee8f740005d6cf31d0f3e14095bef422fc 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_ringbuffer.c
+++ b/
drivers/gpu/drm/i915/intel_ringbuffer.c
@@
-823,7
+823,7
@@
static int init_render_ring(struct intel_engine_cs *ring)
*
* WaDisableAsyncFlipPerfMode:snb,ivb,hsw,vlv,bdw,chv
*/
- if (INTEL_INFO(dev)->gen >= 6)
+ if (INTEL_INFO(dev)->gen >= 6
&& INTEL_INFO(dev)->gen < 9
)
I915_WRITE(MI_MODE, _MASKED_BIT_ENABLE(ASYNC_FLIP_PERF_DISABLE));
/* Required for the hardware to program scanline values for waiting */