Lines Matching refs:plane_state
195 struct drm_plane_state *plane_state = &shadow_plane_state->base; in ast_cursor_plane_get_argb4444() local
196 struct drm_framebuffer *fb = plane_state->fb; in ast_cursor_plane_get_argb4444()
252 struct drm_plane_state *plane_state = drm_atomic_get_new_plane_state(state, plane); in ast_cursor_plane_helper_atomic_update() local
253 struct drm_shadow_plane_state *shadow_plane_state = to_drm_shadow_plane_state(plane_state); in ast_cursor_plane_helper_atomic_update()
254 struct drm_framebuffer *fb = plane_state->fb; in ast_cursor_plane_helper_atomic_update()
270 if (drm_atomic_helper_damage_merged(old_plane_state, plane_state, &damage)) { in ast_cursor_plane_helper_atomic_update()
285 writel(plane_state->crtc_x, sig + AST_HWC_SIGNATURE_X); in ast_cursor_plane_helper_atomic_update()
286 writel(plane_state->crtc_y, sig + AST_HWC_SIGNATURE_Y); in ast_cursor_plane_helper_atomic_update()
291 if (plane_state->crtc_x < 0) { in ast_cursor_plane_helper_atomic_update()
292 x_offset = (-plane_state->crtc_x) + offset_x; in ast_cursor_plane_helper_atomic_update()
296 x = plane_state->crtc_x; in ast_cursor_plane_helper_atomic_update()
298 if (plane_state->crtc_y < 0) { in ast_cursor_plane_helper_atomic_update()
299 y_offset = (-plane_state->crtc_y) + offset_y; in ast_cursor_plane_helper_atomic_update()
303 y = plane_state->crtc_y; in ast_cursor_plane_helper_atomic_update()