commit | 279156a33c33b385a78c1266ddf6ebc2d473193d | [log] [tgz] |
---|---|---|
author | Chen-Yu Tsai <wens@csie.org> | Thu Mar 09 18:05:27 2017 +0800 |
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | Thu Mar 09 11:19:59 2017 +0100 |
tree | 99e73086cd1086680b661030fa00275183de10ba | |
parent | e4cdcb7cce2949fb36a04b9848f856a107a0a2da [diff] |
drm/sun4i: tv: Get tcon and backend pointers from associated crtc The drm_encoder structure provides us with a pointer to the crtc currently tied to the encoder. Subsequently we can extract the tcon and backend pointers from our crtc structure, instead of getting it directly from the sun4i_drv structure. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>