Lines Matching refs:plane_state
189 struct drm_plane_state *plane_state = drm_atomic_get_new_plane_state(state, plane); in ast_cursor_plane_helper_atomic_update() local
190 struct drm_shadow_plane_state *shadow_plane_state = to_drm_shadow_plane_state(plane_state); in ast_cursor_plane_helper_atomic_update()
191 struct drm_framebuffer *fb = plane_state->fb; in ast_cursor_plane_helper_atomic_update()
207 if (drm_atomic_helper_damage_merged(old_plane_state, plane_state, &damage)) { in ast_cursor_plane_helper_atomic_update()
238 writel(plane_state->crtc_x, sig + AST_HWC_SIGNATURE_X); in ast_cursor_plane_helper_atomic_update()
239 writel(plane_state->crtc_y, sig + AST_HWC_SIGNATURE_Y); in ast_cursor_plane_helper_atomic_update()
244 if (plane_state->crtc_x < 0) { in ast_cursor_plane_helper_atomic_update()
245 x_offset = (-plane_state->crtc_x) + offset_x; in ast_cursor_plane_helper_atomic_update()
249 x = plane_state->crtc_x; in ast_cursor_plane_helper_atomic_update()
251 if (plane_state->crtc_y < 0) { in ast_cursor_plane_helper_atomic_update()
252 y_offset = (-plane_state->crtc_y) + offset_y; in ast_cursor_plane_helper_atomic_update()
256 y = plane_state->crtc_y; in ast_cursor_plane_helper_atomic_update()