/Linux-v5.15/drivers/gpu/drm/tidss/ |
D | tidss_plane.c | 25 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in tidss_plane_atomic_check() local 38 if (!new_plane_state->crtc) { in tidss_plane_atomic_check() 43 new_plane_state->visible = false; in tidss_plane_atomic_check() 48 new_plane_state->crtc); in tidss_plane_atomic_check() 52 ret = drm_atomic_helper_check_plane_state(new_plane_state, crtc_state, in tidss_plane_atomic_check() 70 finfo = drm_format_info(new_plane_state->fb->format->format); in tidss_plane_atomic_check() 72 if ((new_plane_state->src_x >> 16) % finfo->hsub != 0) { in tidss_plane_atomic_check() 75 __func__, (new_plane_state->src_x >> 16), finfo->hsub); in tidss_plane_atomic_check() 79 if ((new_plane_state->src_y >> 16) % finfo->vsub != 0) { in tidss_plane_atomic_check() 82 __func__, (new_plane_state->src_y >> 16), finfo->vsub); in tidss_plane_atomic_check() [all …]
|
/Linux-v5.15/drivers/gpu/drm/mediatek/ |
D | mtk_drm_plane.c | 82 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in mtk_plane_atomic_async_check() local 87 if (plane != new_plane_state->crtc->cursor) in mtk_plane_atomic_async_check() 96 ret = mtk_drm_crtc_plane_check(new_plane_state->crtc, plane, in mtk_plane_atomic_async_check() 97 to_mtk_plane_state(new_plane_state)); in mtk_plane_atomic_async_check() 103 new_plane_state->crtc); in mtk_plane_atomic_async_check() 105 crtc_state = new_plane_state->crtc->state; in mtk_plane_atomic_async_check() 147 struct mtk_plane_state *new_plane_state = to_mtk_plane_state(plane->state); in mtk_plane_atomic_async_update() local 159 mtk_plane_update_new_state(new_state, new_plane_state); in mtk_plane_atomic_async_update() 161 new_plane_state->pending.async_dirty = true; in mtk_plane_atomic_async_update() 177 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in mtk_plane_atomic_check() local [all …]
|
/Linux-v5.15/drivers/gpu/drm/armada/ |
D | armada_plane.c | 84 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in armada_drm_plane_atomic_check() local 86 struct armada_plane_state *st = to_armada_plane_state(new_plane_state); in armada_drm_plane_atomic_check() 87 struct drm_crtc *crtc = new_plane_state->crtc; in armada_drm_plane_atomic_check() 92 if (!new_plane_state->fb || WARN_ON(!new_plane_state->crtc)) { in armada_drm_plane_atomic_check() 93 new_plane_state->visible = false; in armada_drm_plane_atomic_check() 103 ret = drm_atomic_helper_check_plane_state(new_plane_state, crtc_state, in armada_drm_plane_atomic_check() 111 if ((new_plane_state->dst.y1 | new_plane_state->dst.y2) & 1) in armada_drm_plane_atomic_check() 113 st->src_hw = drm_rect_height(&new_plane_state->src) >> 17; in armada_drm_plane_atomic_check() 114 st->dst_yx = new_plane_state->dst.y1 >> 1; in armada_drm_plane_atomic_check() 115 st->dst_hw = drm_rect_height(&new_plane_state->dst) >> 1; in armada_drm_plane_atomic_check() [all …]
|
/Linux-v5.15/drivers/gpu/drm/i915/display/ |
D | intel_atomic_plane.c | 331 struct intel_plane_state *new_plane_state) in intel_plane_atomic_check_with_state() argument 333 struct intel_plane *plane = to_intel_plane(new_plane_state->uapi.plane); in intel_plane_atomic_check_with_state() 334 const struct drm_framebuffer *fb = new_plane_state->hw.fb; in intel_plane_atomic_check_with_state() 337 intel_plane_set_invisible(new_crtc_state, new_plane_state); in intel_plane_atomic_check_with_state() 340 if (!new_plane_state->hw.crtc && !old_plane_state->hw.crtc) in intel_plane_atomic_check_with_state() 343 ret = plane->check_plane(new_crtc_state, new_plane_state); in intel_plane_atomic_check_with_state() 351 if (new_plane_state->uapi.visible) in intel_plane_atomic_check_with_state() 354 if (new_plane_state->uapi.visible && in intel_plane_atomic_check_with_state() 358 if (new_plane_state->uapi.visible && in intel_plane_atomic_check_with_state() 362 if (new_plane_state->uapi.visible || old_plane_state->uapi.visible) in intel_plane_atomic_check_with_state() [all …]
|
D | intel_cursor.c | 624 struct intel_plane_state *new_plane_state; in intel_legacy_cursor_update() local 666 new_plane_state = to_intel_plane_state(intel_plane_duplicate_state(&plane->base)); in intel_legacy_cursor_update() 667 if (!new_plane_state) in intel_legacy_cursor_update() 676 drm_atomic_set_fb_for_plane(&new_plane_state->uapi, fb); in intel_legacy_cursor_update() 678 new_plane_state->uapi.src_x = src_x; in intel_legacy_cursor_update() 679 new_plane_state->uapi.src_y = src_y; in intel_legacy_cursor_update() 680 new_plane_state->uapi.src_w = src_w; in intel_legacy_cursor_update() 681 new_plane_state->uapi.src_h = src_h; in intel_legacy_cursor_update() 682 new_plane_state->uapi.crtc_x = crtc_x; in intel_legacy_cursor_update() 683 new_plane_state->uapi.crtc_y = crtc_y; in intel_legacy_cursor_update() [all …]
|
D | intel_psr.c | 1605 struct intel_plane_state *new_plane_state, *old_plane_state; in intel_psr2_sel_fetch_update() local 1624 new_plane_state, i) { in intel_psr2_sel_fetch_update() 1629 if (new_plane_state->uapi.crtc != crtc_state->uapi.crtc) in intel_psr2_sel_fetch_update() 1632 if (!new_plane_state->uapi.visible && in intel_psr2_sel_fetch_update() 1641 if (new_plane_state->uapi.dst.y1 < 0 || in intel_psr2_sel_fetch_update() 1642 new_plane_state->uapi.dst.x1 < 0) { in intel_psr2_sel_fetch_update() 1647 num_clips = drm_plane_get_damage_clips_count(&new_plane_state->uapi); in intel_psr2_sel_fetch_update() 1654 if (new_plane_state->uapi.visible != old_plane_state->uapi.visible || in intel_psr2_sel_fetch_update() 1655 !drm_rect_equals(&new_plane_state->uapi.dst, in intel_psr2_sel_fetch_update() 1663 if (new_plane_state->uapi.visible) { in intel_psr2_sel_fetch_update() [all …]
|
/Linux-v5.15/drivers/gpu/drm/rcar-du/ |
D | rcar_du_plane.c | 145 struct rcar_du_plane_state *new_plane_state; in rcar_du_atomic_check_planes() local 151 new_plane_state = to_rcar_plane_state(new_drm_plane_state); in rcar_du_atomic_check_planes() 161 if (!new_plane_state->format) { in rcar_du_atomic_check_planes() 166 new_plane_state->hwindex = -1; in rcar_du_atomic_check_planes() 174 if (rcar_du_plane_needs_realloc(old_plane_state, new_plane_state)) { in rcar_du_atomic_check_planes() 182 new_plane_state->hwindex = -1; in rcar_du_atomic_check_planes() 208 struct rcar_du_plane_state *new_plane_state; in rcar_du_atomic_check_planes() local 231 new_plane_state = to_rcar_plane_state(s); in rcar_du_atomic_check_planes() 232 used_planes |= rcar_du_plane_hwmask(new_plane_state); in rcar_du_atomic_check_planes() 238 new_plane_state->format ? in rcar_du_atomic_check_planes() [all …]
|
/Linux-v5.15/drivers/gpu/drm/omapdrm/ |
D | omap_plane.c | 110 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in omap_plane_atomic_check() local 114 if (!new_plane_state->fb) in omap_plane_atomic_check() 118 if (WARN_ON(!new_plane_state->crtc)) in omap_plane_atomic_check() 122 new_plane_state->crtc); in omap_plane_atomic_check() 130 if (new_plane_state->crtc_x < 0 || new_plane_state->crtc_y < 0) in omap_plane_atomic_check() 133 if (new_plane_state->crtc_x + new_plane_state->crtc_w > crtc_state->adjusted_mode.hdisplay) in omap_plane_atomic_check() 136 if (new_plane_state->crtc_y + new_plane_state->crtc_h > crtc_state->adjusted_mode.vdisplay) in omap_plane_atomic_check() 139 if (new_plane_state->rotation != DRM_MODE_ROTATE_0 && in omap_plane_atomic_check() 140 !omap_framebuffer_supports_rotation(new_plane_state->fb)) in omap_plane_atomic_check()
|
/Linux-v5.15/drivers/gpu/drm/kmb/ |
D | kmb_plane.c | 95 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in kmb_plane_atomic_check() local 108 fb = new_plane_state->fb; in kmb_plane_atomic_check() 109 if (!fb || !new_plane_state->crtc) in kmb_plane_atomic_check() 116 if (new_plane_state->crtc_w > KMB_FB_MAX_WIDTH || in kmb_plane_atomic_check() 117 new_plane_state->crtc_h > KMB_FB_MAX_HEIGHT || in kmb_plane_atomic_check() 118 new_plane_state->crtc_w < KMB_FB_MIN_WIDTH || in kmb_plane_atomic_check() 119 new_plane_state->crtc_h < KMB_FB_MIN_HEIGHT) in kmb_plane_atomic_check() 134 new_plane_state->crtc); in kmb_plane_atomic_check() 135 return drm_atomic_helper_check_plane_state(new_plane_state, in kmb_plane_atomic_check() 353 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in kmb_plane_atomic_update() local [all …]
|
/Linux-v5.15/drivers/gpu/drm/imx/dcss/ |
D | dcss-plane.c | 142 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in dcss_plane_atomic_check() local 146 struct drm_framebuffer *fb = new_plane_state->fb; in dcss_plane_atomic_check() 154 if (!fb || !new_plane_state->crtc) in dcss_plane_atomic_check() 161 new_plane_state->crtc); in dcss_plane_atomic_check() 166 if (!dcss_plane_is_source_size_allowed(new_plane_state->src_w >> 16, in dcss_plane_atomic_check() 167 new_plane_state->src_h >> 16, in dcss_plane_atomic_check() 176 ret = drm_atomic_helper_check_plane_state(new_plane_state, crtc_state, in dcss_plane_atomic_check() 182 if (!new_plane_state->visible) in dcss_plane_atomic_check() 188 new_plane_state->rotation)) { in dcss_plane_atomic_check() 193 if ((new_plane_state->crtc_x < 0 || new_plane_state->crtc_y < 0 || in dcss_plane_atomic_check() [all …]
|
/Linux-v5.15/drivers/gpu/drm/ |
D | drm_atomic.c | 558 const struct drm_plane_state *new_plane_state) in plane_switching_crtc() argument 560 if (!old_plane_state->crtc || !new_plane_state->crtc) in plane_switching_crtc() 563 if (old_plane_state->crtc == new_plane_state->crtc) in plane_switching_crtc() 585 const struct drm_plane_state *new_plane_state) in drm_atomic_plane_check() argument 587 struct drm_plane *plane = new_plane_state->plane; in drm_atomic_plane_check() 588 struct drm_crtc *crtc = new_plane_state->crtc; in drm_atomic_plane_check() 589 const struct drm_framebuffer *fb = new_plane_state->fb; in drm_atomic_plane_check() 629 if (new_plane_state->crtc_w > INT_MAX || in drm_atomic_plane_check() 630 new_plane_state->crtc_x > INT_MAX - (int32_t) new_plane_state->crtc_w || in drm_atomic_plane_check() 631 new_plane_state->crtc_h > INT_MAX || in drm_atomic_plane_check() [all …]
|
D | drm_atomic_helper.c | 888 struct drm_plane_state *new_plane_state, *old_plane_state; in drm_atomic_helper_check_planes() local 891 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { in drm_atomic_helper_check_planes() 898 drm_atomic_helper_plane_changed(state, old_plane_state, new_plane_state, plane); in drm_atomic_helper_check_planes() 900 drm_atomic_helper_check_plane_damage(state, new_plane_state); in drm_atomic_helper_check_planes() 1177 struct drm_plane_state *new_plane_state; in drm_atomic_helper_update_legacy_modeset_state() local 1182 new_plane_state = in drm_atomic_helper_update_legacy_modeset_state() 1185 if (new_plane_state && new_plane_state->crtc == crtc) { in drm_atomic_helper_update_legacy_modeset_state() 1186 crtc->x = new_plane_state->src_x >> 16; in drm_atomic_helper_update_legacy_modeset_state() 1187 crtc->y = new_plane_state->src_y >> 16; in drm_atomic_helper_update_legacy_modeset_state() 1436 struct drm_plane_state *new_plane_state; in drm_atomic_helper_wait_for_fences() local [all …]
|
/Linux-v5.15/drivers/gpu/drm/ingenic/ |
D | ingenic-ipu.c | 530 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in ingenic_ipu_plane_atomic_check() local 534 struct drm_crtc *crtc = new_plane_state->crtc ?: old_plane_state->crtc; in ingenic_ipu_plane_atomic_check() 545 if (!old_plane_state->crtc ^ !new_plane_state->crtc) in ingenic_ipu_plane_atomic_check() 548 if (!new_plane_state->crtc || in ingenic_ipu_plane_atomic_check() 553 if (new_plane_state->crtc_x < 0 || new_plane_state->crtc_y < 0 || in ingenic_ipu_plane_atomic_check() 554 new_plane_state->crtc_x + new_plane_state->crtc_w > crtc_state->mode.hdisplay || in ingenic_ipu_plane_atomic_check() 555 new_plane_state->crtc_y + new_plane_state->crtc_h > crtc_state->mode.vdisplay) in ingenic_ipu_plane_atomic_check() 559 if ((new_plane_state->src_w >> 16) < 4 || (new_plane_state->src_h >> 16) < 4) in ingenic_ipu_plane_atomic_check() 563 if (((new_plane_state->src_w >> 16) & 1) || (new_plane_state->crtc_w & 1)) in ingenic_ipu_plane_atomic_check() 566 if (!osd_changed(new_plane_state, old_plane_state)) in ingenic_ipu_plane_atomic_check() [all …]
|
D | ingenic-drm-drv.c | 369 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in ingenic_drm_plane_atomic_check() local 373 struct drm_crtc *crtc = new_plane_state->crtc ?: old_plane_state->crtc; in ingenic_drm_plane_atomic_check() 384 ret = drm_atomic_helper_check_plane_state(new_plane_state, crtc_state, in ingenic_drm_plane_atomic_check() 397 (new_plane_state->src_x != 0 || in ingenic_drm_plane_atomic_check() 398 (new_plane_state->src_w >> 16) != new_plane_state->crtc_w || in ingenic_drm_plane_atomic_check() 399 (new_plane_state->src_h >> 16) != new_plane_state->crtc_h)) in ingenic_drm_plane_atomic_check() 407 (!old_plane_state->fb || !new_plane_state->fb || in ingenic_drm_plane_atomic_check() 408 old_plane_state->crtc_x != new_plane_state->crtc_x || in ingenic_drm_plane_atomic_check() 409 old_plane_state->crtc_y != new_plane_state->crtc_y || in ingenic_drm_plane_atomic_check() 410 old_plane_state->crtc_w != new_plane_state->crtc_w || in ingenic_drm_plane_atomic_check() [all …]
|
/Linux-v5.15/drivers/gpu/drm/vc4/ |
D | vc4_plane.c | 1060 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in vc4_plane_atomic_check() local 1062 struct vc4_plane_state *vc4_state = to_vc4_plane_state(new_plane_state); in vc4_plane_atomic_check() 1067 if (!plane_enabled(new_plane_state)) in vc4_plane_atomic_check() 1070 ret = vc4_plane_mode_set(plane, new_plane_state); in vc4_plane_atomic_check() 1074 return vc4_plane_allocate_lbm(new_plane_state); in vc4_plane_atomic_check() 1140 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in vc4_plane_atomic_async_update() local 1144 swap(plane->state->fb, new_plane_state->fb); in vc4_plane_atomic_async_update() 1145 plane->state->crtc_x = new_plane_state->crtc_x; in vc4_plane_atomic_async_update() 1146 plane->state->crtc_y = new_plane_state->crtc_y; in vc4_plane_atomic_async_update() 1147 plane->state->crtc_w = new_plane_state->crtc_w; in vc4_plane_atomic_async_update() [all …]
|
/Linux-v5.15/drivers/gpu/drm/hisilicon/hibmc/ |
D | hibmc_drm_de.c | 58 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in hibmc_plane_atomic_check() local 60 struct drm_framebuffer *fb = new_plane_state->fb; in hibmc_plane_atomic_check() 61 struct drm_crtc *crtc = new_plane_state->crtc; in hibmc_plane_atomic_check() 63 u32 src_w = new_plane_state->src_w >> 16; in hibmc_plane_atomic_check() 64 u32 src_h = new_plane_state->src_h >> 16; in hibmc_plane_atomic_check() 73 if (src_w != new_plane_state->crtc_w || src_h != new_plane_state->crtc_h) { in hibmc_plane_atomic_check() 78 if (new_plane_state->crtc_x < 0 || new_plane_state->crtc_y < 0) { in hibmc_plane_atomic_check() 86 if (new_plane_state->crtc_x + new_plane_state->crtc_w > in hibmc_plane_atomic_check() 88 new_plane_state->crtc_y + new_plane_state->crtc_h > in hibmc_plane_atomic_check() 94 if (new_plane_state->fb->pitches[0] % 128 != 0) { in hibmc_plane_atomic_check()
|
/Linux-v5.15/include/drm/ |
D | drm_atomic_helper.h | 213 struct drm_plane_state *new_plane_state) in drm_atomic_plane_disabling() argument 220 WARN_ON((new_plane_state->crtc == NULL && new_plane_state->fb != NULL) || in drm_atomic_plane_disabling() 221 (new_plane_state->crtc != NULL && new_plane_state->fb == NULL)); in drm_atomic_plane_disabling() 223 return old_plane_state->crtc && !new_plane_state->crtc; in drm_atomic_plane_disabling()
|
D | drm_atomic.h | 866 #define for_each_oldnew_plane_in_state(__state, plane, old_plane_state, new_plane_state, __i) \ argument 874 (new_plane_state) = (__state)->planes[__i].new_state, 1)) 889 #define for_each_oldnew_plane_in_state_reverse(__state, plane, old_plane_state, new_plane_state, __… argument 896 (new_plane_state) = (__state)->planes[__i].new_state, 1)) 906 #define for_each_new_plane_in_state_reverse(__state, plane, new_plane_state, __i) \ argument 912 (new_plane_state) = (__state)->planes[__i].new_state, 1)) 943 #define for_each_new_plane_in_state(__state, plane, new_plane_state, __i) \ argument 950 (new_plane_state) = (__state)->planes[__i].new_state, \ 951 (void)(new_plane_state) /* Only to avoid unused-but-set-variable warning */, 1))
|
/Linux-v5.15/drivers/gpu/drm/vkms/ |
D | vkms_plane.c | 124 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in vkms_plane_atomic_check() local 130 if (!new_plane_state->fb || WARN_ON(!new_plane_state->crtc)) in vkms_plane_atomic_check() 134 new_plane_state->crtc); in vkms_plane_atomic_check() 141 ret = drm_atomic_helper_check_plane_state(new_plane_state, crtc_state, in vkms_plane_atomic_check() 149 if (!new_plane_state->visible && !can_position) in vkms_plane_atomic_check()
|
/Linux-v5.15/drivers/gpu/drm/arm/ |
D | malidp_planes.c | 507 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in malidp_de_plane_check() local 510 struct malidp_plane_state *ms = to_malidp_plane_state(new_plane_state); in malidp_de_plane_check() 511 bool rotated = new_plane_state->rotation & MALIDP_ROTATED_MASK; in malidp_de_plane_check() 513 u16 pixel_alpha = new_plane_state->pixel_blend_mode; in malidp_de_plane_check() 517 if (!new_plane_state->crtc || WARN_ON(!new_plane_state->fb)) in malidp_de_plane_check() 520 fb = new_plane_state->fb; in malidp_de_plane_check() 546 if ((new_plane_state->src_x >> 16) % block_w || (new_plane_state->src_y >> 16) % block_h) { in malidp_de_plane_check() 551 if ((new_plane_state->crtc_w > mp->hwdev->max_line_size) || in malidp_de_plane_check() 552 (new_plane_state->crtc_h > mp->hwdev->max_line_size) || in malidp_de_plane_check() 553 (new_plane_state->crtc_w < mp->hwdev->min_line_size) || in malidp_de_plane_check() [all …]
|
D | hdlcd_crtc.c | 234 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in hdlcd_plane_atomic_check() local 239 u32 src_h = new_plane_state->src_h >> 16; in hdlcd_plane_atomic_check() 250 if (!new_plane_state->fb && crtc_state->active) in hdlcd_plane_atomic_check() 252 return drm_atomic_helper_check_plane_state(new_plane_state, in hdlcd_plane_atomic_check() 265 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in hdlcd_plane_atomic_update() local 267 struct drm_framebuffer *fb = new_plane_state->fb; in hdlcd_plane_atomic_update() 275 dest_h = drm_rect_height(&new_plane_state->dst); in hdlcd_plane_atomic_update() 276 scanout_start = drm_fb_cma_get_gem_addr(fb, new_plane_state, 0); in hdlcd_plane_atomic_update()
|
/Linux-v5.15/drivers/gpu/drm/sti/ |
D | sti_cursor.c | 186 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in sti_cursor_atomic_check() local 190 struct drm_crtc *crtc = new_plane_state->crtc; in sti_cursor_atomic_check() 191 struct drm_framebuffer *fb = new_plane_state->fb; in sti_cursor_atomic_check() 203 dst_x = new_plane_state->crtc_x; in sti_cursor_atomic_check() 204 dst_y = new_plane_state->crtc_y; in sti_cursor_atomic_check() 205 dst_w = clamp_val(new_plane_state->crtc_w, 0, in sti_cursor_atomic_check() 207 dst_h = clamp_val(new_plane_state->crtc_h, 0, in sti_cursor_atomic_check() 210 src_w = new_plane_state->src_w >> 16; in sti_cursor_atomic_check() 211 src_h = new_plane_state->src_h >> 16; in sti_cursor_atomic_check()
|
/Linux-v5.15/drivers/gpu/drm/arm/display/komeda/ |
D | komeda_plane.c | 74 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in komeda_plane_atomic_check() local 77 struct komeda_plane_state *kplane_st = to_kplane_st(new_plane_state); in komeda_plane_atomic_check() 84 if (!new_plane_state->crtc || !new_plane_state->fb) in komeda_plane_atomic_check() 88 new_plane_state->crtc); in komeda_plane_atomic_check() 100 err = komeda_plane_init_data_flow(new_plane_state, kcrtc_st, &dflow); in komeda_plane_atomic_check()
|
/Linux-v5.15/drivers/gpu/drm/fsl-dcu/ |
D | fsl_dcu_drm_plane.c | 39 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in fsl_dcu_drm_plane_atomic_check() local 41 struct drm_framebuffer *fb = new_plane_state->fb; in fsl_dcu_drm_plane_atomic_check() 43 if (!new_plane_state->fb || !new_plane_state->crtc) in fsl_dcu_drm_plane_atomic_check()
|
/Linux-v5.15/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_plane.c | 314 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in mdp5_plane_atomic_check() local 319 crtc = new_plane_state->crtc ? new_plane_state->crtc : old_plane_state->crtc; in mdp5_plane_atomic_check() 328 return mdp5_plane_atomic_check_with_state(crtc_state, new_plane_state); in mdp5_plane_atomic_check() 353 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in mdp5_plane_atomic_async_check() local 355 struct mdp5_plane_state *mdp5_state = to_mdp5_plane_state(new_plane_state); in mdp5_plane_atomic_async_check() 361 new_plane_state->crtc); in mdp5_plane_atomic_async_check() 368 mdp5_state = to_mdp5_plane_state(new_plane_state); in mdp5_plane_atomic_async_check() 375 if (plane->state->crtc != new_plane_state->crtc || in mdp5_plane_atomic_async_check() 376 plane->state->src_w != new_plane_state->src_w || in mdp5_plane_atomic_async_check() 377 plane->state->src_h != new_plane_state->src_h || in mdp5_plane_atomic_async_check() [all …]
|