diff options
author | Chen-Yu Tsai <wens@csie.org> | 2017-03-09 18:05:26 +0800 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2017-03-09 11:19:45 +0100 |
commit | e4cdcb7cce2949fb36a04b9848f856a107a0a2da (patch) | |
tree | 86f9644d3430ed06d7618fa64013c56ca2b0d119 /drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c | |
parent | 23a1cb11d90d8e66bfe3a506cfaa88486bbcfc61 (diff) |
drm/sun4i: Use embedded tcon pointer to get the tcon's output port node
A pointer to the underlying tcon of the crtc was added to the sun4i_crtc
structure in "drm/sun4i: Add backend and tcon pointers to sun4i_crtc".
However the crtc init function was still using the copy from sun4i_drv
to set drm_crtc.port. This was an oversight when the patches were
reordered.
Switch to using the embedded tcon pointer to get the tcon's ouptut port
and assign it to drm_crtc.port.
This makes it possible to remove the usage of sun4i_drv completely in
subsequent patches.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c')
0 files changed, 0 insertions, 0 deletions