/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_plane.c | 86 static int create_in_format_blob(struct drm_device *dev, struct drm_plane *plane) in create_in_format_blob() argument 95 formats_size = sizeof(__u32) * plane->format_count; in create_in_format_blob() 102 sizeof(struct drm_format_modifier) * plane->modifier_count; in create_in_format_blob() 118 blob_data->count_formats = plane->format_count; in create_in_format_blob() 120 blob_data->count_modifiers = plane->modifier_count; in create_in_format_blob() 125 memcpy(formats_ptr(blob_data), plane->format_types, formats_size); in create_in_format_blob() 128 if (!plane->funcs->format_mod_supported) in create_in_format_blob() 132 for (i = 0; i < plane->modifier_count; i++) { in create_in_format_blob() 133 for (j = 0; j < plane->format_count; j++) { in create_in_format_blob() 134 if (plane->funcs->format_mod_supported(plane, in create_in_format_blob() [all …]
|
D | drm_blend.c | 212 int drm_plane_create_alpha_property(struct drm_plane *plane) in drm_plane_create_alpha_property() argument 216 prop = drm_property_create_range(plane->dev, 0, "alpha", in drm_plane_create_alpha_property() 221 drm_object_attach_property(&plane->base, prop, DRM_BLEND_ALPHA_OPAQUE); in drm_plane_create_alpha_property() 222 plane->alpha_property = prop; in drm_plane_create_alpha_property() 224 if (plane->state) in drm_plane_create_alpha_property() 225 plane->state->alpha = DRM_BLEND_ALPHA_OPAQUE; in drm_plane_create_alpha_property() 265 int drm_plane_create_rotation_property(struct drm_plane *plane, in drm_plane_create_rotation_property() argument 283 prop = drm_property_create_bitmask(plane->dev, 0, "rotation", in drm_plane_create_rotation_property() 289 drm_object_attach_property(&plane->base, prop, rotation); in drm_plane_create_rotation_property() 291 if (plane->state) in drm_plane_create_rotation_property() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/virtio/ |
D | virtgpu_plane.c | 70 static void virtio_gpu_plane_destroy(struct drm_plane *plane) in virtio_gpu_plane_destroy() argument 72 drm_plane_cleanup(plane); in virtio_gpu_plane_destroy() 73 kfree(plane); in virtio_gpu_plane_destroy() 85 static int virtio_gpu_plane_atomic_check(struct drm_plane *plane, in virtio_gpu_plane_atomic_check() argument 88 bool is_cursor = plane->type == DRM_PLANE_TYPE_CURSOR; in virtio_gpu_plane_atomic_check() 129 static void virtio_gpu_primary_plane_update(struct drm_plane *plane, in virtio_gpu_primary_plane_update() argument 132 struct drm_device *dev = plane->dev; in virtio_gpu_primary_plane_update() 138 if (plane->state->crtc) in virtio_gpu_primary_plane_update() 139 output = drm_crtc_to_virtio_gpu_output(plane->state->crtc); in virtio_gpu_primary_plane_update() 145 if (!plane->state->fb || !output->crtc.state->active) { in virtio_gpu_primary_plane_update() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/ |
D | fb_decoder.c | 203 struct intel_vgpu_primary_plane_format *plane) in intel_vgpu_decode_primary_plane() argument 214 plane->enabled = !!(val & DISPLAY_PLANE_ENABLE); in intel_vgpu_decode_primary_plane() 215 if (!plane->enabled) in intel_vgpu_decode_primary_plane() 219 plane->tiled = val & PLANE_CTL_TILED_MASK; in intel_vgpu_decode_primary_plane() 231 plane->bpp = skl_pixel_formats[fmt].bpp; in intel_vgpu_decode_primary_plane() 232 plane->drm_format = skl_pixel_formats[fmt].drm_format; in intel_vgpu_decode_primary_plane() 234 plane->tiled = val & DISPPLANE_TILED; in intel_vgpu_decode_primary_plane() 236 plane->bpp = bdw_pixel_formats[fmt].bpp; in intel_vgpu_decode_primary_plane() 237 plane->drm_format = bdw_pixel_formats[fmt].drm_format; in intel_vgpu_decode_primary_plane() 240 if (!plane->bpp) { in intel_vgpu_decode_primary_plane() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/ |
D | mtk_drm_plane.c | 34 static void mtk_plane_reset(struct drm_plane *plane) in mtk_plane_reset() argument 38 if (plane->state) { in mtk_plane_reset() 39 __drm_atomic_helper_plane_destroy_state(plane->state); in mtk_plane_reset() 41 state = to_mtk_plane_state(plane->state); in mtk_plane_reset() 47 plane->state = &state->base; in mtk_plane_reset() 50 state->base.plane = plane; in mtk_plane_reset() 54 static struct drm_plane_state *mtk_plane_duplicate_state(struct drm_plane *plane) in mtk_plane_duplicate_state() argument 56 struct mtk_plane_state *old_state = to_mtk_plane_state(plane->state); in mtk_plane_duplicate_state() 63 __drm_atomic_helper_plane_duplicate_state(plane, &state->base); in mtk_plane_duplicate_state() 65 WARN_ON(state->base.plane != plane); in mtk_plane_duplicate_state() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv04/ |
D | overlay.c | 113 nv10_update_plane(struct drm_plane *plane, struct drm_crtc *crtc, in nv10_update_plane() argument 120 struct nouveau_drm *drm = nouveau_drm(plane->dev); in nv10_update_plane() 123 container_of(plane, struct nouveau_plane, base); in nv10_update_plane() 192 nv10_disable_plane(struct drm_plane *plane, in nv10_disable_plane() argument 195 struct nvif_object *dev = &nouveau_drm(plane->dev)->client.device.object; in nv10_disable_plane() 197 container_of(plane, struct nouveau_plane, base); in nv10_disable_plane() 209 nv_destroy_plane(struct drm_plane *plane) in nv_destroy_plane() argument 211 drm_plane_force_disable(plane); in nv_destroy_plane() 212 drm_plane_cleanup(plane); in nv_destroy_plane() 213 kfree(plane); in nv_destroy_plane() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
D | intel_atomic_plane.c | 46 struct intel_plane *plane) in intel_plane_state_reset() argument 50 __drm_atomic_helper_plane_state_reset(&plane_state->uapi, &plane->base); in intel_plane_state_reset() 58 struct intel_plane *plane; in intel_plane_alloc() local 60 plane = kzalloc(sizeof(*plane), GFP_KERNEL); in intel_plane_alloc() 61 if (!plane) in intel_plane_alloc() 66 kfree(plane); in intel_plane_alloc() 70 intel_plane_state_reset(plane_state, plane); in intel_plane_alloc() 72 plane->base.state = &plane_state->uapi; in intel_plane_alloc() 74 return plane; in intel_plane_alloc() 77 void intel_plane_free(struct intel_plane *plane) in intel_plane_free() argument [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/ |
D | dispc.h | 342 static inline u16 DISPC_OVL_BASE(enum omap_plane_id plane) in DISPC_OVL_BASE() argument 344 switch (plane) { in DISPC_OVL_BASE() 362 static inline u16 DISPC_BA0_OFFSET(enum omap_plane_id plane) in DISPC_BA0_OFFSET() argument 364 switch (plane) { in DISPC_BA0_OFFSET() 378 static inline u16 DISPC_BA1_OFFSET(enum omap_plane_id plane) in DISPC_BA1_OFFSET() argument 380 switch (plane) { in DISPC_BA1_OFFSET() 394 static inline u16 DISPC_BA0_UV_OFFSET(enum omap_plane_id plane) in DISPC_BA0_UV_OFFSET() argument 396 switch (plane) { in DISPC_BA0_UV_OFFSET() 414 static inline u16 DISPC_BA1_UV_OFFSET(enum omap_plane_id plane) in DISPC_BA1_UV_OFFSET() argument 416 switch (plane) { in DISPC_BA1_UV_OFFSET() [all …]
|
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dispc.h | 339 static inline u16 DISPC_OVL_BASE(enum omap_plane plane) in DISPC_OVL_BASE() argument 341 switch (plane) { in DISPC_OVL_BASE() 359 static inline u16 DISPC_BA0_OFFSET(enum omap_plane plane) in DISPC_BA0_OFFSET() argument 361 switch (plane) { in DISPC_BA0_OFFSET() 375 static inline u16 DISPC_BA1_OFFSET(enum omap_plane plane) in DISPC_BA1_OFFSET() argument 377 switch (plane) { in DISPC_BA1_OFFSET() 391 static inline u16 DISPC_BA0_UV_OFFSET(enum omap_plane plane) in DISPC_BA0_UV_OFFSET() argument 393 switch (plane) { in DISPC_BA0_UV_OFFSET() 411 static inline u16 DISPC_BA1_UV_OFFSET(enum omap_plane plane) in DISPC_BA1_UV_OFFSET() argument 413 switch (plane) { in DISPC_BA1_UV_OFFSET() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/ |
D | omap_plane.c | 26 static int omap_plane_prepare_fb(struct drm_plane *plane, in omap_plane_prepare_fb() argument 35 static void omap_plane_cleanup_fb(struct drm_plane *plane, in omap_plane_cleanup_fb() argument 42 static void omap_plane_atomic_update(struct drm_plane *plane, in omap_plane_atomic_update() argument 45 struct omap_drm_private *priv = plane->dev->dev_private; in omap_plane_atomic_update() 46 struct omap_plane *omap_plane = to_omap_plane(plane); in omap_plane_atomic_update() 47 struct drm_plane_state *state = plane->state; in omap_plane_atomic_update() 77 dev_err(plane->dev->dev, "Failed to setup plane %s\n", in omap_plane_atomic_update() 86 static void omap_plane_atomic_disable(struct drm_plane *plane, in omap_plane_atomic_disable() argument 89 struct omap_drm_private *priv = plane->dev->dev_private; in omap_plane_atomic_disable() 90 struct omap_plane *omap_plane = to_omap_plane(plane); in omap_plane_atomic_disable() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/rcar-du/ |
D | rcar_du_plane.c | 95 static int rcar_du_plane_hwalloc(struct rcar_du_plane *plane, in rcar_du_plane_hwalloc() argument 105 if (plane->group->index != 0) in rcar_du_plane_hwalloc() 111 fixed = plane->group->index == 0 ? 1 : 0; in rcar_du_plane_hwalloc() 146 struct rcar_du_plane *plane; in rcar_du_atomic_check_planes() local 149 plane = to_rcar_plane(drm_plane); in rcar_du_atomic_check_planes() 154 plane->group->index, plane - plane->group->planes); in rcar_du_atomic_check_planes() 164 index = plane - plane->group->planes; in rcar_du_atomic_check_planes() 165 group_freed_planes[plane->group->index] |= 1 << index; in rcar_du_atomic_check_planes() 177 groups |= 1 << plane->group->index; in rcar_du_atomic_check_planes() 180 index = plane - plane->group->planes; in rcar_du_atomic_check_planes() [all …]
|
D | rcar_du_vsp.c | 148 static void rcar_du_vsp_plane_setup(struct rcar_du_vsp_plane *plane) in rcar_du_vsp_plane_setup() argument 151 to_rcar_vsp_plane_state(plane->plane.state); in rcar_du_vsp_plane_setup() 153 struct drm_framebuffer *fb = plane->plane.state->fb; in rcar_du_vsp_plane_setup() 180 vsp1_du_atomic_update(plane->vsp->vsp, crtc->vsp_pipe, in rcar_du_vsp_plane_setup() 181 plane->index, &cfg); in rcar_du_vsp_plane_setup() 220 static int rcar_du_vsp_plane_prepare_fb(struct drm_plane *plane, in rcar_du_vsp_plane_prepare_fb() argument 224 struct rcar_du_vsp *vsp = to_rcar_vsp_plane(plane)->vsp; in rcar_du_vsp_plane_prepare_fb() 238 return drm_gem_fb_prepare_fb(plane, state); in rcar_du_vsp_plane_prepare_fb() 254 static void rcar_du_vsp_plane_cleanup_fb(struct drm_plane *plane, in rcar_du_vsp_plane_cleanup_fb() argument 258 struct rcar_du_vsp *vsp = to_rcar_vsp_plane(plane)->vsp; in rcar_du_vsp_plane_cleanup_fb() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vkms/ |
D | vkms_plane.c | 20 vkms_plane_duplicate_state(struct drm_plane *plane) in vkms_plane_duplicate_state() argument 38 __drm_atomic_helper_plane_duplicate_state(plane, in vkms_plane_duplicate_state() 44 static void vkms_plane_destroy_state(struct drm_plane *plane, in vkms_plane_destroy_state() argument 65 static void vkms_plane_reset(struct drm_plane *plane) in vkms_plane_reset() argument 69 if (plane->state) in vkms_plane_reset() 70 vkms_plane_destroy_state(plane, plane->state); in vkms_plane_reset() 78 plane->state = &vkms_state->base; in vkms_plane_reset() 79 plane->state->plane = plane; in vkms_plane_reset() 91 static void vkms_plane_atomic_update(struct drm_plane *plane, in vkms_plane_atomic_update() argument 95 struct drm_framebuffer *fb = plane->state->fb; in vkms_plane_atomic_update() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_plane.c | 127 static struct dpu_kms *_dpu_plane_get_kms(struct drm_plane *plane) in _dpu_plane_get_kms() argument 129 struct msm_drm_private *priv = plane->dev->dev_private; in _dpu_plane_get_kms() 141 static void _dpu_plane_calc_bw(struct drm_plane *plane, in _dpu_plane_calc_bw() argument 144 struct dpu_plane *pdpu = to_dpu_plane(plane); in _dpu_plane_calc_bw() 148 struct dpu_kms *dpu_kms = _dpu_plane_get_kms(plane); in _dpu_plane_calc_bw() 156 pstate = to_dpu_plane_state(plane->state); in _dpu_plane_calc_bw() 157 mode = &plane->state->crtc->mode; in _dpu_plane_calc_bw() 190 static void _dpu_plane_calc_clk(struct drm_plane *plane) in _dpu_plane_calc_clk() argument 192 struct dpu_plane *pdpu = to_dpu_plane(plane); in _dpu_plane_calc_clk() 197 pstate = to_dpu_plane_state(plane->state); in _dpu_plane_calc_clk() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/sti/ |
D | sti_plane.c | 19 const char *sti_plane_to_str(struct sti_plane *plane) in sti_plane_to_str() argument 21 switch (plane->desc) { in sti_plane_to_str() 41 void sti_plane_update_fps(struct sti_plane *plane, in sti_plane_update_fps() argument 45 struct drm_plane_state *state = plane->drm_plane.state; in sti_plane_update_fps() 53 fps = &plane->fps_info; in sti_plane_update_fps() 74 snprintf(plane->fps_info.fps_str, FPS_LENGTH, in sti_plane_update_fps() 76 plane->drm_plane.name, in sti_plane_update_fps() 81 sti_plane_to_str(plane)); in sti_plane_update_fps() 89 snprintf(plane->fps_info.fips_str, in sti_plane_update_fps() 93 plane->fps_info.fips_str[0] = '\0'; in sti_plane_update_fps() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/ |
D | sun4i_layer.c | 18 static void sun4i_backend_layer_reset(struct drm_plane *plane) in sun4i_backend_layer_reset() argument 20 struct sun4i_layer *layer = plane_to_sun4i_layer(plane); in sun4i_backend_layer_reset() 23 if (plane->state) { in sun4i_backend_layer_reset() 24 state = state_to_sun4i_layer_state(plane->state); in sun4i_backend_layer_reset() 29 plane->state = NULL; in sun4i_backend_layer_reset() 34 __drm_atomic_helper_plane_reset(plane, &state->state); in sun4i_backend_layer_reset() 35 plane->state->zpos = layer->id; in sun4i_backend_layer_reset() 40 sun4i_backend_layer_duplicate_state(struct drm_plane *plane) in sun4i_backend_layer_duplicate_state() argument 42 struct sun4i_layer_state *orig = state_to_sun4i_layer_state(plane->state); in sun4i_backend_layer_duplicate_state() 49 __drm_atomic_helper_plane_duplicate_state(plane, ©->state); in sun4i_backend_layer_duplicate_state() [all …]
|
/kernel/linux/linux-5.10/include/drm/ |
D | drm_plane.h | 49 struct drm_plane *plane; member 283 int (*update_plane)(struct drm_plane *plane, 306 int (*disable_plane)(struct drm_plane *plane, 316 void (*destroy)(struct drm_plane *plane); 328 void (*reset)(struct drm_plane *plane); 344 int (*set_property)(struct drm_plane *plane, 378 struct drm_plane_state *(*atomic_duplicate_state)(struct drm_plane *plane); 388 void (*atomic_destroy_state)(struct drm_plane *plane, 433 int (*atomic_set_property)(struct drm_plane *plane, 456 int (*atomic_get_property)(struct drm_plane *plane, [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/komeda/ |
D | komeda_plane.c | 20 struct komeda_plane *kplane = to_kplane(st->plane); in komeda_plane_init_data_flow() 32 st->plane->name, st->normalized_zpos, in komeda_plane_init_data_flow() 73 komeda_plane_atomic_check(struct drm_plane *plane, in komeda_plane_atomic_check() argument 76 struct komeda_plane *kplane = to_kplane(plane); in komeda_plane_atomic_check() 117 komeda_plane_atomic_update(struct drm_plane *plane, in komeda_plane_atomic_update() argument 127 static void komeda_plane_destroy(struct drm_plane *plane) in komeda_plane_destroy() argument 129 drm_plane_cleanup(plane); in komeda_plane_destroy() 131 kfree(to_kplane(plane)); in komeda_plane_destroy() 134 static void komeda_plane_reset(struct drm_plane *plane) in komeda_plane_reset() argument 137 struct komeda_plane *kplane = to_kplane(plane); in komeda_plane_reset() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/ |
D | hub.c | 61 static inline unsigned int tegra_plane_offset(struct tegra_plane *plane, in tegra_plane_offset() argument 66 return plane->offset + offset; in tegra_plane_offset() 71 return plane->offset + offset; in tegra_plane_offset() 76 return plane->offset + offset; in tegra_plane_offset() 79 dev_WARN(plane->dc->dev, "invalid offset: %x\n", offset); in tegra_plane_offset() 81 return plane->offset + offset; in tegra_plane_offset() 84 static inline u32 tegra_plane_readl(struct tegra_plane *plane, in tegra_plane_readl() argument 87 return tegra_dc_readl(plane->dc, tegra_plane_offset(plane, offset)); in tegra_plane_readl() 90 static inline void tegra_plane_writel(struct tegra_plane *plane, u32 value, in tegra_plane_writel() argument 93 tegra_dc_writel(plane->dc, value, tegra_plane_offset(plane, offset)); in tegra_plane_writel() [all …]
|
D | plane.c | 17 static void tegra_plane_destroy(struct drm_plane *plane) in tegra_plane_destroy() argument 19 struct tegra_plane *p = to_tegra_plane(plane); in tegra_plane_destroy() 21 drm_plane_cleanup(plane); in tegra_plane_destroy() 25 static void tegra_plane_reset(struct drm_plane *plane) in tegra_plane_reset() argument 27 struct tegra_plane *p = to_tegra_plane(plane); in tegra_plane_reset() 31 if (plane->state) in tegra_plane_reset() 32 __drm_atomic_helper_plane_destroy_state(plane->state); in tegra_plane_reset() 34 kfree(plane->state); in tegra_plane_reset() 35 plane->state = NULL; in tegra_plane_reset() 39 plane->state = &state->base; in tegra_plane_reset() [all …]
|
D | dc.c | 54 static inline unsigned int tegra_plane_offset(struct tegra_plane *plane, in tegra_plane_offset() argument 59 return plane->offset + offset; in tegra_plane_offset() 64 return plane->offset + offset; in tegra_plane_offset() 69 return plane->offset + offset; in tegra_plane_offset() 72 dev_WARN(plane->dc->dev, "invalid offset: %x\n", offset); in tegra_plane_offset() 74 return plane->offset + offset; in tegra_plane_offset() 77 static inline u32 tegra_plane_readl(struct tegra_plane *plane, in tegra_plane_readl() argument 80 return tegra_dc_readl(plane->dc, tegra_plane_offset(plane, offset)); in tegra_plane_readl() 83 static inline void tegra_plane_writel(struct tegra_plane *plane, u32 value, in tegra_plane_writel() argument 86 tegra_dc_writel(plane->dc, value, tegra_plane_offset(plane, offset)); in tegra_plane_writel() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/atmel-hlcdc/ |
D | atmel_hlcdc_plane.c | 272 atmel_hlcdc_plane_scaler_set_phicoeff(struct atmel_hlcdc_plane *plane, in atmel_hlcdc_plane_scaler_set_phicoeff() argument 279 atmel_hlcdc_layer_write_cfg(&plane->layer, cfg_offs + i, in atmel_hlcdc_plane_scaler_set_phicoeff() 283 void atmel_hlcdc_plane_setup_scaler(struct atmel_hlcdc_plane *plane, in atmel_hlcdc_plane_setup_scaler() argument 286 const struct atmel_hlcdc_layer_desc *desc = plane->layer.desc; in atmel_hlcdc_plane_setup_scaler() 293 atmel_hlcdc_layer_write_cfg(&plane->layer, in atmel_hlcdc_plane_setup_scaler() 307 atmel_hlcdc_plane_scaler_set_phicoeff(plane, in atmel_hlcdc_plane_setup_scaler() 314 atmel_hlcdc_plane_scaler_set_phicoeff(plane, in atmel_hlcdc_plane_setup_scaler() 325 atmel_hlcdc_layer_write_cfg(&plane->layer, desc->layout.scaler_config, in atmel_hlcdc_plane_setup_scaler() 332 atmel_hlcdc_plane_update_pos_and_size(struct atmel_hlcdc_plane *plane, in atmel_hlcdc_plane_update_pos_and_size() argument 335 const struct atmel_hlcdc_layer_desc *desc = plane->layer.desc; in atmel_hlcdc_plane_update_pos_and_size() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_plane.c | 22 static int mdp5_plane_mode_set(struct drm_plane *plane, 26 static struct mdp5_kms *get_kms(struct drm_plane *plane) in get_kms() argument 28 struct msm_drm_private *priv = plane->dev->dev_private; in get_kms() 37 static void mdp5_plane_destroy(struct drm_plane *plane) in mdp5_plane_destroy() argument 39 struct mdp5_plane *mdp5_plane = to_mdp5_plane(plane); in mdp5_plane_destroy() 41 drm_plane_cleanup(plane); in mdp5_plane_destroy() 47 struct drm_plane *plane) in mdp5_plane_install_rotation_property() argument 49 drm_plane_create_rotation_property(plane, in mdp5_plane_install_rotation_property() 58 static void mdp5_plane_install_properties(struct drm_plane *plane, in mdp5_plane_install_properties() argument 61 struct drm_device *dev = plane->dev; in mdp5_plane_install_properties() [all …]
|
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
D | au1200fb.c | 152 int plane; member 702 static int au1200_setlocation (struct au1200fb_device *fbdev, int plane, in au1200_setlocation() argument 710 winctrl0 = lcd->window[plane].winctrl0; in au1200_setlocation() 711 winctrl1 = lcd->window[plane].winctrl1; in au1200_setlocation() 716 xsz = win->w[plane].xres; in au1200_setlocation() 717 ysz = win->w[plane].yres; in au1200_setlocation() 718 if ((xpos + win->w[plane].xres) > panel->Xres) { in au1200_setlocation() 724 if ((ypos + win->w[plane].yres) > panel->Yres) { in au1200_setlocation() 732 xsz = win->w[plane].xres + xpos; in au1200_setlocation() 733 fb_offset += (((0 - xpos) * winbpp(lcd->window[plane].winctrl1))/8); in au1200_setlocation() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp4/ |
D | mdp4_plane.c | 44 static void mdp4_plane_set_scanout(struct drm_plane *plane, 46 static int mdp4_plane_mode_set(struct drm_plane *plane, 53 static struct mdp4_kms *get_kms(struct drm_plane *plane) in get_kms() argument 55 struct msm_drm_private *priv = plane->dev->dev_private; in get_kms() 59 static void mdp4_plane_destroy(struct drm_plane *plane) in mdp4_plane_destroy() argument 61 struct mdp4_plane *mdp4_plane = to_mdp4_plane(plane); in mdp4_plane_destroy() 63 drm_plane_cleanup(plane); in mdp4_plane_destroy() 69 static void mdp4_plane_install_properties(struct drm_plane *plane, in mdp4_plane_install_properties() argument 75 static int mdp4_plane_set_property(struct drm_plane *plane, in mdp4_plane_set_property() argument 92 static void mdp4_plane_cleanup_fb(struct drm_plane *plane, in mdp4_plane_cleanup_fb() argument [all …]
|