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:
86c8bbb
)
drm/i915: Don't set plane visible during HW readout if CRTC is off
author
Matt Roper
<
[email protected]
>
Thu, 24 Sep 2015 22:53:17 +0000
(15:53 -0700)
committer
Matt Roper
<
[email protected]
>
Wed, 21 Oct 2015 21:54:55 +0000
(14:54 -0700)
We already ensure that pstate->visible = false when crtc->active = false
during runtime programming; make sure we follow the same logic when
reading out initial hardware state.
Signed-off-by: Matt Roper <
[email protected]
>
Reviewed-by: Maarten Lankhorst <
[email protected]
>
Smoke-tested-by: Paulo Zanoni <
[email protected]
>
Link:
http://patchwork.freedesktop.org/patch/59564/
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 259fc342dfc3259c1014c060b39b45b49ff3a5d2..3874b3563e6367088bfc0eede0391021ee0bb0aa 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_display.c
+++ b/
drivers/gpu/drm/i915/intel_display.c
@@
-15175,7
+15175,7
@@
static void readout_plane_state(struct intel_crtc *crtc)
struct intel_plane_state *plane_state =
to_intel_plane_state(primary->state);
- plane_state->visible =
+ plane_state->visible =
crtc->active &&
primary_get_hw_state(to_intel_plane(primary));
if (plane_state->visible)