diff options
Diffstat (limited to 'drivers/gpu/drm/sti')
| -rw-r--r-- | drivers/gpu/drm/sti/sti_cursor.c | 4 | ||||
| -rw-r--r-- | drivers/gpu/drm/sti/sti_gdp.c | 4 | ||||
| -rw-r--r-- | drivers/gpu/drm/sti/sti_hqvdp.c | 4 | 
3 files changed, 9 insertions, 3 deletions
| diff --git a/drivers/gpu/drm/sti/sti_cursor.c b/drivers/gpu/drm/sti/sti_cursor.c index c04c868e337f..ceb30d545ab9 100644 --- a/drivers/gpu/drm/sti/sti_cursor.c +++ b/drivers/gpu/drm/sti/sti_cursor.c @@ -181,8 +181,10 @@ static void sti_cursor_init(struct sti_cursor *cursor)  }  static int sti_cursor_atomic_check(struct drm_plane *drm_plane, -				   struct drm_plane_state *new_plane_state) +				   struct drm_atomic_state *state)  { +	struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, +										 drm_plane);  	struct sti_plane *plane = to_sti_plane(drm_plane);  	struct sti_cursor *cursor = to_sti_cursor(plane);  	struct drm_crtc *crtc = new_plane_state->crtc; diff --git a/drivers/gpu/drm/sti/sti_gdp.c b/drivers/gpu/drm/sti/sti_gdp.c index 4fe91ab4f191..63823827417c 100644 --- a/drivers/gpu/drm/sti/sti_gdp.c +++ b/drivers/gpu/drm/sti/sti_gdp.c @@ -615,8 +615,10 @@ static int sti_gdp_get_dst(struct device *dev, int dst, int src)  }  static int sti_gdp_atomic_check(struct drm_plane *drm_plane, -				struct drm_plane_state *new_plane_state) +				struct drm_atomic_state *state)  { +	struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, +										 drm_plane);  	struct sti_plane *plane = to_sti_plane(drm_plane);  	struct sti_gdp *gdp = to_sti_gdp(plane);  	struct drm_crtc *crtc = new_plane_state->crtc; diff --git a/drivers/gpu/drm/sti/sti_hqvdp.c b/drivers/gpu/drm/sti/sti_hqvdp.c index 5d492ac1f2dd..b3b10ee96bb2 100644 --- a/drivers/gpu/drm/sti/sti_hqvdp.c +++ b/drivers/gpu/drm/sti/sti_hqvdp.c @@ -1017,8 +1017,10 @@ out:  }  static int sti_hqvdp_atomic_check(struct drm_plane *drm_plane, -				  struct drm_plane_state *new_plane_state) +				  struct drm_atomic_state *state)  { +	struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, +										 drm_plane);  	struct sti_plane *plane = to_sti_plane(drm_plane);  	struct sti_hqvdp *hqvdp = to_sti_hqvdp(plane);  	struct drm_crtc *crtc = new_plane_state->crtc; |