projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
567a3cd
)
drm/tegra: dc: Wire up CRTC parent of atomic state
author
Thierry Reding
<treding@nvidia.com>
Wed, 28 Jan 2015 14:03:31 +0000
(15:03 +0100)
committer
Thierry Reding
<treding@nvidia.com>
Thu, 19 Feb 2015 13:21:47 +0000
(14:21 +0100)
Store a pointer to the CRTC in its atomic state to make it easy for
state handling code to get at the CRTC.
Tested-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/tegra/dc.c
b/drivers/gpu/drm/tegra/dc.c
index ec84bd486561359a7bb6a4b31c66bc68257b0913..2fd229366bb2a74fa99592d5df03f577699cbdac 100644
(file)
--- a/
drivers/gpu/drm/tegra/dc.c
+++ b/
drivers/gpu/drm/tegra/dc.c
@@
-997,8
+997,10
@@
static void tegra_crtc_reset(struct drm_crtc *crtc)
crtc->state = NULL;
state = kzalloc(sizeof(*state), GFP_KERNEL);
- if (state)
+ if (state)
{
crtc->state = &state->base;
+ crtc->state->crtc = crtc;
+ }
}
static struct drm_crtc_state *