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:
aca2584
)
drm/i915: fixup assert_pipe to take the pipe A quirk into account
author
Daniel Vetter
<
[email protected]
>
Sun, 22 Jan 2012 00:36:48 +0000
(
01:36
+0100)
committer
Daniel Vetter
<
[email protected]
>
Tue, 24 Jan 2012 18:47:18 +0000
(19:47 +0100)
This was completely spamming dmesg on my i855gm. This issue was just
shortly introduced with:
commit
931872fceabacf2d4f8b6fbd51611c167e83164c
Author: Chris Wilson <
[email protected]
>
Date: Mon Jan 16 23:01:13 2012 +0000
drm/i915: Check that plane/pipe is disabled before removing the fb
Reviewed-by: Jesse Barnes <
[email protected]
>
Signed-Off-by: Daniel Vetter <
[email protected]
>
drivers/gpu/drm/i915/intel_display.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
index cfd3a87807f1b055abe4bf1308c9675de3b37122..ebb345244909273185dbe0a8901b0d75f39cab21 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_display.c
+++ b/
drivers/gpu/drm/i915/intel_display.c
@@
-936,6
+936,10
@@
void assert_pipe(struct drm_i915_private *dev_priv,
u32 val;
bool cur_state;
+ /* if we need the pipe A quirk it must be always on */
+ if (pipe == PIPE_A && dev_priv->quirks & QUIRK_PIPEA_FORCE)
+ state = true;
+
reg = PIPECONF(pipe);
val = I915_READ(reg);
cur_state = !!(val & PIPECONF_ENABLE);