diff options
Diffstat (limited to 'drivers/gpu/drm/rcar-du/rcar_du_crtc.c')
-rw-r--r-- | drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/rcar-du/rcar_du_crtc.c b/drivers/gpu/drm/rcar-du/rcar_du_crtc.c index b5f66b78cbb2..15f8d145a133 100644 --- a/drivers/gpu/drm/rcar-du/rcar_du_crtc.c +++ b/drivers/gpu/drm/rcar-du/rcar_du_crtc.c | |||
@@ -195,13 +195,13 @@ void rcar_du_crtc_route_output(struct drm_crtc *crtc, | |||
195 | 195 | ||
196 | static unsigned int plane_zpos(struct rcar_du_plane *plane) | 196 | static unsigned int plane_zpos(struct rcar_du_plane *plane) |
197 | { | 197 | { |
198 | return to_rcar_du_plane_state(plane->plane.state)->zpos; | 198 | return to_rcar_plane_state(plane->plane.state)->zpos; |
199 | } | 199 | } |
200 | 200 | ||
201 | static const struct rcar_du_format_info * | 201 | static const struct rcar_du_format_info * |
202 | plane_format(struct rcar_du_plane *plane) | 202 | plane_format(struct rcar_du_plane *plane) |
203 | { | 203 | { |
204 | return to_rcar_du_plane_state(plane->plane.state)->format; | 204 | return to_rcar_plane_state(plane->plane.state)->format; |
205 | } | 205 | } |
206 | 206 | ||
207 | static void rcar_du_crtc_update_planes(struct rcar_du_crtc *rcrtc) | 207 | static void rcar_du_crtc_update_planes(struct rcar_du_crtc *rcrtc) |
@@ -234,7 +234,7 @@ static void rcar_du_crtc_update_planes(struct rcar_du_crtc *rcrtc) | |||
234 | for (i = 0; i < num_planes; ++i) { | 234 | for (i = 0; i < num_planes; ++i) { |
235 | struct rcar_du_plane *plane = planes[i]; | 235 | struct rcar_du_plane *plane = planes[i]; |
236 | struct drm_plane_state *state = plane->plane.state; | 236 | struct drm_plane_state *state = plane->plane.state; |
237 | unsigned int index = to_rcar_du_plane_state(state)->hwindex; | 237 | unsigned int index = to_rcar_plane_state(state)->hwindex; |
238 | 238 | ||
239 | prio -= 4; | 239 | prio -= 4; |
240 | dspr |= (index + 1) << prio; | 240 | dspr |= (index + 1) << prio; |