Home
last modified time | relevance | path

Searched refs:new_underlying_state (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c9280 struct drm_plane_state *new_cursor_state, *new_underlying_state; in dm_check_crtc_cursor() local
9300 for_each_new_plane_in_state_reverse(state, underlying, new_underlying_state, i) { in dm_check_crtc_cursor()
9302 if (new_underlying_state->crtc != crtc || underlying == crtc->cursor) in dm_check_crtc_cursor()
9306 if (!new_underlying_state->fb) in dm_check_crtc_cursor()
9309 dm_get_oriented_plane_size(new_underlying_state, in dm_check_crtc_cursor()
9311 underlying_scale_w = new_underlying_state->crtc_w * 1000 / underlying_src_w; in dm_check_crtc_cursor()
9312 underlying_scale_h = new_underlying_state->crtc_h * 1000 / underlying_src_h; in dm_check_crtc_cursor()
9323 if (new_underlying_state->crtc_x <= 0 && in dm_check_crtc_cursor()
9324 new_underlying_state->crtc_y <= 0 && in dm_check_crtc_cursor()
9325new_underlying_state->crtc_x + new_underlying_state->crtc_w >= new_crtc_state->mode.hdisplay && in dm_check_crtc_cursor()
[all …]