/linux-4.4.14/drivers/gpu/drm/sti/ |
H A D | sti_plane.c | 46 static void sti_plane_destroy(struct drm_plane *drm_plane) sti_plane_destroy() argument 50 drm_plane_helper_disable(drm_plane); sti_plane_destroy() 51 drm_plane_cleanup(drm_plane); sti_plane_destroy() 54 static int sti_plane_set_property(struct drm_plane *drm_plane, sti_plane_set_property() argument 58 struct drm_device *dev = drm_plane->dev; sti_plane_set_property() 60 struct sti_plane *plane = to_sti_plane(drm_plane); sti_plane_set_property() 72 static void sti_plane_attach_zorder_property(struct drm_plane *drm_plane) sti_plane_attach_zorder_property() argument 74 struct drm_device *dev = drm_plane->dev; sti_plane_attach_zorder_property() 76 struct sti_plane *plane = to_sti_plane(drm_plane); sti_plane_attach_zorder_property() 89 drm_object_attach_property(&drm_plane->base, prop, plane->zorder); sti_plane_attach_zorder_property() 104 sti_plane_attach_zorder_property(&plane->drm_plane); sti_plane_init_property() 107 plane->drm_plane.base.id, sti_plane_init_property()
|
H A D | sti_crtc.h | 15 struct drm_plane *primary, struct drm_plane *cursor);
|
H A D | sti_plane.h | 16 #define to_sti_plane(x) container_of(x, struct sti_plane, drm_plane) 62 struct drm_plane drm_plane; member in struct:sti_plane
|
H A D | sti_cursor.c | 113 static void sti_cursor_atomic_update(struct drm_plane *drm_plane, sti_cursor_atomic_update() argument 116 struct drm_plane_state *state = drm_plane->state; sti_cursor_atomic_update() 117 struct sti_plane *plane = to_sti_plane(drm_plane); sti_cursor_atomic_update() 137 drm_plane->base.id, sti_plane_to_str(plane)); sti_cursor_atomic_update() 214 static void sti_cursor_atomic_disable(struct drm_plane *drm_plane, sti_cursor_atomic_disable() argument 217 struct sti_plane *plane = to_sti_plane(drm_plane); sti_cursor_atomic_disable() 218 struct sti_mixer *mixer = to_sti_mixer(drm_plane->crtc); sti_cursor_atomic_disable() 220 if (!drm_plane->crtc) { sti_cursor_atomic_disable() 222 drm_plane->base.id); sti_cursor_atomic_disable() 227 drm_plane->crtc->base.id, sti_mixer_to_str(mixer), sti_cursor_atomic_disable() 228 drm_plane->base.id, sti_plane_to_str(plane)); sti_cursor_atomic_disable() 238 struct drm_plane *sti_cursor_create(struct drm_device *drm_dev, sti_cursor_create() 270 res = drm_universal_plane_init(drm_dev, &cursor->plane.drm_plane, sti_cursor_create() 281 drm_plane_helper_add(&cursor->plane.drm_plane, sti_cursor_create() 286 return &cursor->plane.drm_plane; sti_cursor_create()
|
H A D | sti_cursor.h | 10 struct drm_plane *sti_cursor_create(struct drm_device *drm_dev,
|
H A D | sti_gdp.h | 14 struct drm_plane *sti_gdp_create(struct drm_device *drm_dev,
|
H A D | sti_gdp.c | 243 struct drm_plane *drm_plane = &gdp->plane.drm_plane; sti_gdp_disable() local 244 struct sti_mixer *mixer = to_sti_mixer(drm_plane->crtc); sti_gdp_disable() 383 static void sti_gdp_atomic_update(struct drm_plane *drm_plane, sti_gdp_atomic_update() argument 386 struct drm_plane_state *state = drm_plane->state; sti_gdp_atomic_update() 387 struct sti_plane *plane = to_sti_plane(drm_plane); sti_gdp_atomic_update() 426 drm_plane->base.id, sti_plane_to_str(plane)); sti_gdp_atomic_update() 580 static void sti_gdp_atomic_disable(struct drm_plane *drm_plane, sti_gdp_atomic_disable() argument 583 struct sti_plane *plane = to_sti_plane(drm_plane); sti_gdp_atomic_disable() 584 struct sti_mixer *mixer = to_sti_mixer(drm_plane->crtc); sti_gdp_atomic_disable() 586 if (!drm_plane->crtc) { sti_gdp_atomic_disable() 588 drm_plane->base.id); sti_gdp_atomic_disable() 593 drm_plane->crtc->base.id, sti_mixer_to_str(mixer), sti_gdp_atomic_disable() 594 drm_plane->base.id, sti_plane_to_str(plane)); sti_gdp_atomic_disable() 604 struct drm_plane *sti_gdp_create(struct drm_device *drm_dev, sti_gdp_create() 628 res = drm_universal_plane_init(drm_dev, &gdp->plane.drm_plane, sti_gdp_create() 639 drm_plane_helper_add(&gdp->plane.drm_plane, &sti_gdp_helpers_funcs); sti_gdp_create() 643 return &gdp->plane.drm_plane; sti_gdp_create()
|
H A D | sti_hqvdp.c | 778 static void sti_hqvdp_atomic_update(struct drm_plane *drm_plane, sti_hqvdp_atomic_update() argument 781 struct drm_plane_state *state = drm_plane->state; sti_hqvdp_atomic_update() 782 struct sti_plane *plane = to_sti_plane(drm_plane); sti_hqvdp_atomic_update() 805 drm_plane->base.id, sti_plane_to_str(plane)); sti_hqvdp_atomic_update() 937 static void sti_hqvdp_atomic_disable(struct drm_plane *drm_plane, sti_hqvdp_atomic_disable() argument 940 struct sti_plane *plane = to_sti_plane(drm_plane); sti_hqvdp_atomic_disable() 941 struct sti_mixer *mixer = to_sti_mixer(drm_plane->crtc); sti_hqvdp_atomic_disable() 943 if (!drm_plane->crtc) { sti_hqvdp_atomic_disable() 945 drm_plane->base.id); sti_hqvdp_atomic_disable() 950 drm_plane->crtc->base.id, sti_mixer_to_str(mixer), sti_hqvdp_atomic_disable() 951 drm_plane->base.id, sti_plane_to_str(plane)); sti_hqvdp_atomic_disable() 961 static struct drm_plane *sti_hqvdp_create(struct drm_device *drm_dev, sti_hqvdp_create() 972 res = drm_universal_plane_init(drm_dev, &hqvdp->plane.drm_plane, 1, sti_hqvdp_create() 982 drm_plane_helper_add(&hqvdp->plane.drm_plane, &sti_hqvdp_helpers_funcs); sti_hqvdp_create() 986 return &hqvdp->plane.drm_plane; sti_hqvdp_create() 993 struct drm_plane *plane; sti_hqvdp_bind()
|
H A D | sti_crtc.c | 166 struct drm_plane *p; sti_crtc_atomic_flush() 286 struct drm_plane *p; sti_crtc_vblank_cb() 364 struct drm_plane *primary, struct drm_plane *cursor) sti_crtc_init()
|
H A D | sti_compositor.c | 66 struct drm_plane *cursor = NULL; sti_compositor_bind() 67 struct drm_plane *primary = NULL; sti_compositor_bind()
|
/linux-4.4.14/include/drm/ |
H A D | drm_plane_helper.h | 60 int (*prepare_fb)(struct drm_plane *plane, 62 void (*cleanup_fb)(struct drm_plane *plane, 65 int (*atomic_check)(struct drm_plane *plane, 67 void (*atomic_update)(struct drm_plane *plane, 69 void (*atomic_disable)(struct drm_plane *plane, 73 static inline void drm_plane_helper_add(struct drm_plane *plane, drm_plane_helper_add() 79 int drm_plane_helper_check_update(struct drm_plane *plane, 90 int drm_primary_helper_update(struct drm_plane *plane, 97 int drm_primary_helper_disable(struct drm_plane *plane); 98 void drm_primary_helper_destroy(struct drm_plane *plane); 101 int drm_plane_helper_update(struct drm_plane *plane, struct drm_crtc *crtc, 107 int drm_plane_helper_disable(struct drm_plane *plane); 110 int drm_plane_helper_commit(struct drm_plane *plane,
|
H A D | drm_atomic_helper.h | 70 int drm_atomic_helper_update_plane(struct drm_plane *plane, 77 int drm_atomic_helper_disable_plane(struct drm_plane *plane); 78 int __drm_atomic_helper_disable_plane(struct drm_plane *plane, 87 int drm_atomic_helper_plane_set_property(struct drm_plane *plane, 111 void drm_atomic_helper_plane_reset(struct drm_plane *plane); 112 void __drm_atomic_helper_plane_duplicate_state(struct drm_plane *plane, 115 drm_atomic_helper_plane_duplicate_state(struct drm_plane *plane); 116 void __drm_atomic_helper_plane_destroy_state(struct drm_plane *plane, 118 void drm_atomic_helper_plane_destroy_state(struct drm_plane *plane, 174 drm_atomic_plane_disabling(struct drm_plane *plane, drm_atomic_plane_disabling()
|
H A D | drm_atomic.h | 51 struct drm_plane *plane); 52 int drm_atomic_plane_set_property(struct drm_plane *plane, 87 struct drm_plane *plane) drm_atomic_get_existing_plane_state()
|
H A D | drm_crtc.h | 249 struct drm_plane; 441 struct drm_plane *primary; 442 struct drm_plane *cursor; 758 struct drm_plane *plane; 794 int (*update_plane)(struct drm_plane *plane, 800 int (*disable_plane)(struct drm_plane *plane); 801 void (*destroy)(struct drm_plane *plane); 802 void (*reset)(struct drm_plane *plane); 804 int (*set_property)(struct drm_plane *plane, 808 struct drm_plane_state *(*atomic_duplicate_state)(struct drm_plane *plane); 809 void (*atomic_destroy_state)(struct drm_plane *plane, 811 int (*atomic_set_property)(struct drm_plane *plane, 815 int (*atomic_get_property)(struct drm_plane *plane, 828 * struct drm_plane - central DRM plane control structure 845 struct drm_plane { struct 939 struct drm_plane **planes; 1179 #define obj_to_plane(x) container_of(x, struct drm_plane, base) 1188 struct drm_plane *primary, 1189 struct drm_plane *cursor, 1255 struct drm_plane *plane, 1262 struct drm_plane *plane, 1267 extern void drm_plane_cleanup(struct drm_plane *plane); 1268 extern unsigned int drm_plane_index(struct drm_plane *plane); 1269 extern struct drm_plane * drm_plane_from_index(struct drm_device *dev, int idx); 1270 extern void drm_plane_force_disable(struct drm_plane *plane); 1271 extern int drm_plane_check_pixel_format(const struct drm_plane *plane, 1483 extern int drm_mode_plane_set_obj_prop(struct drm_plane *plane, 1503 static inline struct drm_plane *drm_plane_find(struct drm_device *dev, drm_plane_find()
|
H A D | drm_modeset_lock.h | 130 struct drm_plane; 135 struct drm_plane *plane);
|
/linux-4.4.14/drivers/gpu/drm/imx/ |
H A D | ipuv3-plane.h | 4 #include <drm/drm_crtc.h> /* drm_plane */ 6 struct drm_plane; 17 struct drm_plane base;
|
H A D | imx-drm.h | 12 struct drm_plane; 28 struct imx_drm_crtc **new_crtc, struct drm_plane *primary_plane,
|
H A D | ipuv3-plane.c | 312 * drm_plane API 315 static int ipu_update_plane(struct drm_plane *plane, struct drm_crtc *crtc, ipu_update_plane() 351 static int ipu_disable_plane(struct drm_plane *plane) ipu_disable_plane() 365 static void ipu_plane_destroy(struct drm_plane *plane) ipu_plane_destroy()
|
H A D | imx-drm-core.c | 343 struct imx_drm_crtc **new_crtc, struct drm_plane *primary_plane, imx_drm_add_crtc()
|
/linux-4.4.14/drivers/gpu/drm/fsl-dcu/ |
H A D | fsl_dcu_drm_plane.h | 15 struct drm_plane *fsl_dcu_drm_primary_create_plane(struct drm_device *dev);
|
H A D | fsl_dcu_drm_plane.c | 25 static int fsl_dcu_drm_plane_index(struct drm_plane *plane) fsl_dcu_drm_plane_index() 39 static int fsl_dcu_drm_plane_atomic_check(struct drm_plane *plane, fsl_dcu_drm_plane_atomic_check() 57 static void fsl_dcu_drm_plane_atomic_disable(struct drm_plane *plane, fsl_dcu_drm_plane_atomic_disable() 77 static void fsl_dcu_drm_plane_atomic_update(struct drm_plane *plane, fsl_dcu_drm_plane_atomic_update() 193 fsl_dcu_drm_plane_cleanup_fb(struct drm_plane *plane, fsl_dcu_drm_plane_cleanup_fb() 199 fsl_dcu_drm_plane_prepare_fb(struct drm_plane *plane, fsl_dcu_drm_plane_prepare_fb() 213 static void fsl_dcu_drm_plane_destroy(struct drm_plane *plane) fsl_dcu_drm_plane_destroy() 236 struct drm_plane *fsl_dcu_drm_primary_create_plane(struct drm_device *dev) fsl_dcu_drm_primary_create_plane() 238 struct drm_plane *primary; fsl_dcu_drm_primary_create_plane()
|
H A D | fsl_dcu_drm_crtc.c | 171 struct drm_plane *primary; fsl_dcu_drm_crtc_create()
|
/linux-4.4.14/drivers/gpu/drm/omapdrm/ |
H A D | omap_plane.c | 40 struct drm_plane base; 62 static int omap_plane_prepare_fb(struct drm_plane *plane, omap_plane_prepare_fb() 71 static void omap_plane_cleanup_fb(struct drm_plane *plane, omap_plane_cleanup_fb() 78 static void omap_plane_atomic_update(struct drm_plane *plane, omap_plane_atomic_update() 146 static void omap_plane_atomic_disable(struct drm_plane *plane, omap_plane_atomic_disable() 159 static int omap_plane_atomic_check(struct drm_plane *plane, omap_plane_atomic_check() 191 static void omap_plane_reset(struct drm_plane *plane) omap_plane_reset() 218 static void omap_plane_destroy(struct drm_plane *plane) omap_plane_destroy() 232 void omap_plane_install_properties(struct drm_plane *plane, omap_plane_install_properties() 248 omap_plane_atomic_duplicate_state(struct drm_plane *plane) omap_plane_atomic_duplicate_state() 266 static void omap_plane_atomic_destroy_state(struct drm_plane *plane, omap_plane_atomic_destroy_state() 273 static int omap_plane_atomic_set_property(struct drm_plane *plane, omap_plane_atomic_set_property() 289 static int omap_plane_atomic_get_property(struct drm_plane *plane, omap_plane_atomic_get_property() 341 struct drm_plane *omap_plane_init(struct drm_device *dev, omap_plane_init() 345 struct drm_plane *plane; omap_plane_init()
|
H A D | omap_drv.h | 82 struct drm_plane *planes[8]; 149 struct drm_plane *plane, enum omap_channel channel, int id); 152 struct drm_plane *omap_plane_init(struct drm_device *dev, 154 void omap_plane_install_properties(struct drm_plane *plane,
|
H A D | omap_crtc.c | 423 struct drm_plane *plane = crtc->primary; omap_crtc_atomic_set_property() 496 struct drm_plane *plane, enum omap_channel channel, int id) omap_crtc_init()
|
H A D | omap_drv.c | 283 struct drm_plane *plane; omap_modeset_create_crtc() 451 struct drm_plane *plane;
|
/linux-4.4.14/drivers/gpu/drm/shmobile/ |
H A D | shmob_drm_plane.h | 20 void shmob_drm_plane_setup(struct drm_plane *plane);
|
H A D | shmob_drm_plane.c | 28 struct drm_plane plane; 165 void shmob_drm_plane_setup(struct drm_plane *plane) shmob_drm_plane_setup() 176 shmob_drm_plane_update(struct drm_plane *plane, struct drm_crtc *crtc, shmob_drm_plane_update() 211 static int shmob_drm_plane_disable(struct drm_plane *plane) shmob_drm_plane_disable() 222 static void shmob_drm_plane_destroy(struct drm_plane *plane) shmob_drm_plane_destroy()
|
H A D | shmob_drm_crtc.c | 170 struct drm_plane *plane; shmob_drm_crtc_start()
|
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp4/ |
H A D | mdp4_plane.c | 24 struct drm_plane base; 52 static void mdp4_plane_set_scanout(struct drm_plane *plane, 54 static int mdp4_plane_mode_set(struct drm_plane *plane, 61 static struct mdp4_kms *get_kms(struct drm_plane *plane) get_kms() 67 static void mdp4_plane_destroy(struct drm_plane *plane) mdp4_plane_destroy() 78 static void mdp4_plane_install_properties(struct drm_plane *plane, mdp4_plane_install_properties() 84 int mdp4_plane_set_property(struct drm_plane *plane, mdp4_plane_set_property() 101 static int mdp4_plane_prepare_fb(struct drm_plane *plane, mdp4_plane_prepare_fb() 115 static void mdp4_plane_cleanup_fb(struct drm_plane *plane, mdp4_plane_cleanup_fb() 130 static int mdp4_plane_atomic_check(struct drm_plane *plane, mdp4_plane_atomic_check() 136 static void mdp4_plane_atomic_update(struct drm_plane *plane, mdp4_plane_atomic_update() 159 static void mdp4_plane_set_scanout(struct drm_plane *plane, mdp4_plane_set_scanout() 215 static int mdp4_plane_mode_set(struct drm_plane *plane, mdp4_plane_mode_set() 367 enum mdp4_pipe mdp4_plane_pipe(struct drm_plane *plane) mdp4_plane_pipe() 374 struct drm_plane *mdp4_plane_init(struct drm_device *dev, mdp4_plane_init() 377 struct drm_plane *plane = NULL; mdp4_plane_init()
|
H A D | mdp4_kms.h | 197 enum mdp4_pipe mdp4_plane_pipe(struct drm_plane *plane); 198 struct drm_plane *mdp4_plane_init(struct drm_device *dev, 207 struct drm_plane *plane, int id, int ovlp_id,
|
H A D | mdp4_crtc.c | 89 struct drm_plane *plane; crtc_flush() 185 struct drm_plane *plane; setup_mixer() 202 struct drm_plane *plane; blend_setup() 650 struct drm_plane *plane, int id, int ovlp_id, mdp4_crtc_init()
|
H A D | mdp4_kms.c | 284 struct drm_plane *plane; modeset_init()
|
/linux-4.4.14/drivers/gpu/drm/virtio/ |
H A D | virtgpu_plane.c | 41 static void virtio_gpu_plane_destroy(struct drm_plane *plane) virtio_gpu_plane_destroy() 55 static int virtio_gpu_plane_atomic_check(struct drm_plane *plane, virtio_gpu_plane_atomic_check() 61 static void virtio_gpu_plane_atomic_update(struct drm_plane *plane, virtio_gpu_plane_atomic_update() 95 struct drm_plane *virtio_gpu_plane_init(struct virtio_gpu_device *vgdev, virtio_gpu_plane_init() 99 struct drm_plane *plane; virtio_gpu_plane_init()
|
H A D | virtgpu_display.c | 136 struct drm_plane *plane = crtc->primary; virtio_gpu_page_flip() 433 struct drm_plane *plane; vgdev_output_init()
|
H A D | virtgpu_drv.h | 337 struct drm_plane *virtio_gpu_plane_init(struct virtio_gpu_device *vgdev,
|
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp5/ |
H A D | mdp5_plane.c | 22 struct drm_plane base; 38 static int mdp5_plane_mode_set(struct drm_plane *plane, 45 static void set_scanout_locked(struct drm_plane *plane, 48 static struct mdp5_kms *get_kms(struct drm_plane *plane) get_kms() 59 static void mdp5_plane_destroy(struct drm_plane *plane) mdp5_plane_destroy() 70 struct drm_plane *plane) mdp5_plane_install_rotation_property() 90 static void mdp5_plane_install_properties(struct drm_plane *plane, mdp5_plane_install_properties() 131 static int mdp5_plane_atomic_set_property(struct drm_plane *plane, mdp5_plane_atomic_set_property() 159 static int mdp5_plane_atomic_get_property(struct drm_plane *plane, mdp5_plane_atomic_get_property() 187 static void mdp5_plane_reset(struct drm_plane *plane) mdp5_plane_reset() 212 mdp5_plane_duplicate_state(struct drm_plane *plane) mdp5_plane_duplicate_state() 231 static void mdp5_plane_destroy_state(struct drm_plane *plane, mdp5_plane_destroy_state() 252 static int mdp5_plane_prepare_fb(struct drm_plane *plane, mdp5_plane_prepare_fb() 266 static void mdp5_plane_cleanup_fb(struct drm_plane *plane, mdp5_plane_cleanup_fb() 280 static int mdp5_plane_atomic_check(struct drm_plane *plane, mdp5_plane_atomic_check() 351 static void mdp5_plane_atomic_update(struct drm_plane *plane, mdp5_plane_atomic_update() 387 static void set_scanout_locked(struct drm_plane *plane, set_scanout_locked() 501 static int calc_scalex_steps(struct drm_plane *plane, calc_scalex_steps() 526 static int calc_scaley_steps(struct drm_plane *plane, calc_scaley_steps() 665 static int mdp5_plane_mode_set(struct drm_plane *plane, mdp5_plane_mode_set() 833 void mdp5_plane_complete_flip(struct drm_plane *plane) mdp5_plane_complete_flip() 847 enum mdp5_pipe mdp5_plane_pipe(struct drm_plane *plane) mdp5_plane_pipe() 853 uint32_t mdp5_plane_get_flush(struct drm_plane *plane) mdp5_plane_get_flush() 861 void mdp5_plane_complete_commit(struct drm_plane *plane, mdp5_plane_complete_commit() 875 struct drm_plane *mdp5_plane_init(struct drm_device *dev, mdp5_plane_init() 879 struct drm_plane *plane = NULL; mdp5_plane_init()
|
H A D | mdp5_kms.h | 202 uint32_t mdp5_plane_get_flush(struct drm_plane *plane); 203 void mdp5_plane_complete_flip(struct drm_plane *plane); 204 void mdp5_plane_complete_commit(struct drm_plane *plane, 206 enum mdp5_pipe mdp5_plane_pipe(struct drm_plane *plane); 207 struct drm_plane *mdp5_plane_init(struct drm_device *dev, 219 struct drm_plane *plane, int id);
|
H A D | mdp5_crtc.c | 117 struct drm_plane *plane; crtc_flush_all() 139 struct drm_plane *plane; complete_flip() 206 struct drm_plane *plane; blend_setup() 364 struct drm_plane *plane; 380 struct drm_plane *plane; mdp5_crtc_atomic_check() 776 struct drm_plane *plane, int id) mdp5_crtc_init()
|
H A D | mdp5_kms.c | 84 struct drm_plane *plane = state->planes[i]; mdp5_complete_commit() 374 struct drm_plane *plane; modeset_init() 398 struct drm_plane *plane; modeset_init() 412 struct drm_plane *plane; modeset_init()
|
/linux-4.4.14/drivers/gpu/drm/vc4/ |
H A D | vc4_plane.c | 73 static struct drm_plane_state *vc4_plane_duplicate_state(struct drm_plane *plane) vc4_plane_duplicate_state() 100 static void vc4_plane_destroy_state(struct drm_plane *plane, vc4_plane_destroy_state() 111 static void vc4_plane_reset(struct drm_plane *plane) vc4_plane_reset() 146 static int vc4_plane_mode_set(struct drm_plane *plane, vc4_plane_mode_set() 233 static int vc4_plane_atomic_check(struct drm_plane *plane, vc4_plane_atomic_check() 246 static void vc4_plane_atomic_update(struct drm_plane *plane, vc4_plane_atomic_update() 256 u32 vc4_plane_write_dlist(struct drm_plane *plane, u32 __iomem *dlist) vc4_plane_write_dlist() 282 static void vc4_plane_destroy(struct drm_plane *plane) vc4_plane_destroy() 298 struct drm_plane *vc4_plane_init(struct drm_device *dev, vc4_plane_init() 301 struct drm_plane *plane = NULL; vc4_plane_init()
|
H A D | vc4_drv.h | 45 struct drm_plane base; 49 to_vc4_plane(struct drm_plane *plane) to_vc4_plane() 142 struct drm_plane *vc4_plane_init(struct drm_device *dev, 144 u32 vc4_plane_write_dlist(struct drm_plane *plane, u32 __iomem *dlist);
|
H A D | vc4_crtc.c | 323 struct drm_plane *plane; vc4_crtc_atomic_check() 370 struct drm_plane *plane; vc4_crtc_atomic_flush() 570 struct drm_plane *primary_plane, *cursor_plane; vc4_crtc_bind()
|
/linux-4.4.14/drivers/gpu/drm/armada/ |
H A D | armada_crtc.h | 45 struct drm_plane base; 75 struct drm_plane *plane; 102 struct drm_plane *plane);
|
H A D | armada_overlay.c | 95 armada_ovl_plane_update(struct drm_plane *plane, struct drm_crtc *crtc, armada_ovl_plane_update() 262 static int armada_ovl_plane_disable(struct drm_plane *plane) armada_ovl_plane_disable() 286 static void armada_ovl_plane_destroy(struct drm_plane *plane) armada_ovl_plane_destroy() 295 static int armada_ovl_plane_set_property(struct drm_plane *plane, armada_ovl_plane_set_property()
|
H A D | armada_crtc.c | 359 struct drm_plane *plane; armada_drm_crtc_prepare() 405 struct drm_plane *ovl_plane; armada_drm_crtc_irq() 702 struct drm_plane *plane) armada_drm_crtc_plane_disable()
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
H A D | intel_atomic_plane.c | 28 * implement legacy plane updates (i.e., drm_plane->update_plane() and 29 * drm_plane->disable_plane()). This allows plane updates to use the 49 intel_create_plane_state(struct drm_plane *plane) intel_create_plane_state() 74 intel_plane_duplicate_state(struct drm_plane *plane) intel_plane_duplicate_state() 100 intel_plane_destroy_state(struct drm_plane *plane, intel_plane_destroy_state() 106 static int intel_plane_atomic_check(struct drm_plane *plane, intel_plane_atomic_check() 189 static void intel_plane_atomic_update(struct drm_plane *plane, intel_plane_atomic_update() 218 intel_plane_atomic_get_property(struct drm_plane *plane, intel_plane_atomic_get_property() 240 intel_plane_atomic_set_property(struct drm_plane *plane, intel_plane_atomic_set_property()
|
H A D | intel_sprite.c | 181 skl_update_plane(struct drm_plane *drm_plane, struct drm_crtc *crtc, skl_update_plane() argument 188 struct drm_device *dev = drm_plane->dev; skl_update_plane() 190 struct intel_plane *intel_plane = to_intel_plane(drm_plane); skl_update_plane() 197 &to_intel_plane_state(drm_plane->state)->ckey; skl_update_plane() 212 rotation = drm_plane->state->rotation; skl_update_plane() 215 intel_update_sprite_watermarks(drm_plane, crtc, src_w, src_h, skl_update_plane() 222 scaler_id = to_intel_plane_state(drm_plane->state)->scaler_id; skl_update_plane() 288 skl_disable_plane(struct drm_plane *dplane, struct drm_crtc *crtc) skl_disable_plane() 344 vlv_update_plane(struct drm_plane *dplane, struct drm_crtc *crtc, vlv_update_plane() 469 vlv_disable_plane(struct drm_plane *dplane, struct drm_crtc *crtc) vlv_disable_plane() 484 ivb_update_plane(struct drm_plane *plane, struct drm_crtc *crtc, ivb_update_plane() 609 ivb_disable_plane(struct drm_plane *plane, struct drm_crtc *crtc) ivb_disable_plane() 626 ilk_update_plane(struct drm_plane *plane, struct drm_crtc *crtc, ilk_update_plane() 738 ilk_disable_plane(struct drm_plane *plane, struct drm_crtc *crtc) ilk_disable_plane() 754 intel_check_sprite_plane(struct drm_plane *plane, intel_check_sprite_plane() 932 intel_commit_sprite_plane(struct drm_plane *plane, intel_commit_sprite_plane() 962 struct drm_plane *plane; intel_sprite_set_colorkey()
|
H A D | intel_drv.h | 614 struct drm_plane base; 631 * the intel_plane_state structure and accessed via drm_plane->state. 634 void (*update_plane)(struct drm_plane *plane, 641 void (*disable_plane)(struct drm_plane *plane, 643 int (*check_plane)(struct drm_plane *plane, 646 void (*commit_plane)(struct drm_plane *plane, 1069 int intel_pin_and_fence_fb_obj(struct drm_plane *plane, 1082 int intel_prepare_plane_fb(struct drm_plane *plane, 1084 void intel_cleanup_plane_fb(struct drm_plane *plane, 1086 int intel_plane_atomic_get_property(struct drm_plane *plane, 1090 int intel_plane_atomic_set_property(struct drm_plane *plane, 1229 void intel_plane_destroy(struct drm_plane *plane); 1400 void intel_update_sprite_watermarks(struct drm_plane *plane, 1475 struct intel_plane_state *intel_create_plane_state(struct drm_plane *plane); 1476 struct drm_plane_state *intel_plane_duplicate_state(struct drm_plane *plane); 1477 void intel_plane_destroy_state(struct drm_plane *plane,
|
H A D | intel_atomic.c | 136 struct drm_plane *plane = NULL; intel_atomic_setup_scalers()
|
H A D | intel_display.c | 2331 intel_pin_and_fence_fb_obj(struct drm_plane *plane, intel_pin_and_fence_fb_obj() 2588 update_state_fb(struct drm_plane *plane) update_state_fb() 2609 struct drm_plane *primary = intel_crtc->base.primary; intel_find_initial_plane_obj() 2692 struct drm_plane *primary = crtc->primary; i9xx_update_primary_plane() 2822 struct drm_plane *primary = crtc->primary; ironlake_update_primary_plane() 3094 struct drm_plane *plane = crtc->primary; skylake_update_primary_plane() 4810 struct drm_plane *plane; intel_post_plane_update() 4841 struct drm_plane *p; intel_pre_plane_update() 4875 struct drm_plane *p; intel_crtc_disable_planes() 10774 struct drm_plane *primary = crtc->base.primary; intel_unpin_work_fn() 11408 struct drm_plane *primary = crtc->primary; intel_crtc_page_flip() 11641 static bool intel_wm_need_update(struct drm_plane *plane, intel_wm_need_update() 11661 struct drm_plane *plane = plane_state->plane; intel_plane_atomic_calc_changes() 12001 struct drm_plane *plane; intel_dump_pipe_config() 13451 intel_prepare_plane_fb(struct drm_plane *plane, intel_prepare_plane_fb() 13492 intel_cleanup_plane_fb(struct drm_plane *plane, intel_cleanup_plane_fb() 13540 intel_check_primary_plane(struct drm_plane *plane, intel_check_primary_plane() 13567 intel_commit_primary_plane(struct drm_plane *plane, intel_commit_primary_plane() 13593 intel_disable_primary_plane(struct drm_plane *plane, intel_disable_primary_plane() 13643 void intel_plane_destroy(struct drm_plane *plane) intel_plane_destroy() 13662 static struct drm_plane *intel_primary_plane_create(struct drm_device *dev, intel_primary_plane_create() 13739 intel_check_cursor_plane(struct drm_plane *plane, intel_check_cursor_plane() 13800 intel_disable_cursor_plane(struct drm_plane *plane, intel_disable_cursor_plane() 13807 intel_commit_cursor_plane(struct drm_plane *plane, intel_commit_cursor_plane() 13832 static struct drm_plane *intel_cursor_plane_create(struct drm_device *dev, intel_cursor_plane_create() 13905 struct drm_plane *primary = NULL; intel_crtc_init() 13906 struct drm_plane *cursor = NULL; intel_crtc_init() 15249 struct drm_plane *primary = crtc->base.primary; readout_plane_state()
|
H A D | intel_pm.c | 3061 struct drm_plane *plane; skl_compute_wm_global_parameters() 3081 struct drm_plane *plane; skl_compute_wm_pipe_parameters() 3658 skl_update_sprite_wm(struct drm_plane *plane, struct drm_crtc *crtc, skl_update_sprite_wm() 3737 ilk_update_sprite_wm(struct drm_plane *plane, ilk_update_sprite_wm() 4137 void intel_update_sprite_watermarks(struct drm_plane *plane, intel_update_sprite_watermarks()
|
H A D | i915_drv.h | 635 void (*update_sprite_wm)(struct drm_plane *plane,
|
/linux-4.4.14/drivers/gpu/drm/rcar-du/ |
H A D | rcar_du_plane.h | 32 struct drm_plane plane; 36 static inline struct rcar_du_plane *to_rcar_plane(struct drm_plane *plane) to_rcar_plane()
|
H A D | rcar_du_plane.c | 234 static int rcar_du_plane_atomic_check(struct drm_plane *plane, rcar_du_plane_atomic_check() 262 static void rcar_du_plane_atomic_update(struct drm_plane *plane, rcar_du_plane_atomic_update() 277 rcar_du_plane_atomic_duplicate_state(struct drm_plane *plane) rcar_du_plane_atomic_duplicate_state() 295 static void rcar_du_plane_atomic_destroy_state(struct drm_plane *plane, rcar_du_plane_atomic_destroy_state() 302 static void rcar_du_plane_reset(struct drm_plane *plane) rcar_du_plane_reset() 324 static int rcar_du_plane_atomic_set_property(struct drm_plane *plane, rcar_du_plane_atomic_set_property() 344 static int rcar_du_plane_atomic_get_property(struct drm_plane *plane, rcar_du_plane_atomic_get_property()
|
/linux-4.4.14/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_plane.c | 59 static void exynos_plane_mode_set(struct drm_plane *plane, exynos_plane_mode_set() 119 static int exynos_plane_atomic_check(struct drm_plane *plane, exynos_plane_atomic_check() 148 static void exynos_plane_atomic_update(struct drm_plane *plane, exynos_plane_atomic_update() 170 static void exynos_plane_atomic_disable(struct drm_plane *plane, exynos_plane_atomic_disable() 190 static void exynos_plane_attach_zpos_property(struct drm_plane *plane, exynos_plane_attach_zpos_property()
|
H A D | exynos_drm_crtc.c | 71 struct drm_plane *plane; exynos_crtc_atomic_begin() 88 struct drm_plane *plane; exynos_crtc_atomic_flush() 129 struct drm_plane *plane, exynos_drm_crtc_create()
|
H A D | exynos_drm_crtc.h | 21 struct drm_plane *plane,
|
H A D | exynos_drm_drv.h | 66 struct drm_plane base;
|
H A D | exynos_drm_drv.c | 74 struct drm_plane *plane; exynos_atomic_commit_complete()
|
/linux-4.4.14/drivers/gpu/drm/atmel-hlcdc/ |
H A D | atmel_hlcdc_plane.c | 446 struct drm_plane *ovl; atmel_hlcdc_plane_prepare_disc_area() 536 static int atmel_hlcdc_plane_atomic_check(struct drm_plane *p, atmel_hlcdc_plane_atomic_check() 714 static int atmel_hlcdc_plane_prepare_fb(struct drm_plane *p, atmel_hlcdc_plane_prepare_fb() 725 static void atmel_hlcdc_plane_atomic_update(struct drm_plane *p, atmel_hlcdc_plane_atomic_update() 744 static void atmel_hlcdc_plane_atomic_disable(struct drm_plane *p, atmel_hlcdc_plane_atomic_disable() 752 static void atmel_hlcdc_plane_destroy(struct drm_plane *p) atmel_hlcdc_plane_destroy() 765 static int atmel_hlcdc_plane_atomic_set_property(struct drm_plane *p, atmel_hlcdc_plane_atomic_set_property() 783 static int atmel_hlcdc_plane_atomic_get_property(struct drm_plane *p, atmel_hlcdc_plane_atomic_get_property() 852 static void atmel_hlcdc_plane_reset(struct drm_plane *p) atmel_hlcdc_plane_reset() 875 atmel_hlcdc_plane_atomic_duplicate_state(struct drm_plane *p) atmel_hlcdc_plane_atomic_duplicate_state() 893 static void atmel_hlcdc_plane_atomic_destroy_state(struct drm_plane *plane, atmel_hlcdc_plane_atomic_destroy_state()
|
H A D | atmel_hlcdc_dc.h | 86 struct drm_plane base; 92 drm_plane_to_atmel_hlcdc_plane(struct drm_plane *p) drm_plane_to_atmel_hlcdc_plane()
|
/linux-4.4.14/drivers/gpu/drm/ |
H A D | drm_plane_helper.c | 132 int drm_plane_helper_check_update(struct drm_plane *plane, drm_plane_helper_check_update() 224 int drm_primary_helper_update(struct drm_plane *plane, struct drm_crtc *crtc, drm_primary_helper_update() 320 int drm_primary_helper_disable(struct drm_plane *plane) drm_primary_helper_disable() 334 void drm_primary_helper_destroy(struct drm_plane *plane) drm_primary_helper_destroy() 348 static struct drm_plane *create_primary_plane(struct drm_device *dev) create_primary_plane() 350 struct drm_plane *primary; create_primary_plane() 360 * Remove the format_default field from drm_plane when dropping create_primary_plane() 394 struct drm_plane *primary; drm_crtc_init() 401 int drm_plane_helper_commit(struct drm_plane *plane, drm_plane_helper_commit() 518 int drm_plane_helper_update(struct drm_plane *plane, struct drm_crtc *crtc, drm_plane_helper_update() 567 int drm_plane_helper_disable(struct drm_plane *plane) drm_plane_helper_disable()
|
H A D | drm_atomic.c | 183 struct drm_plane *plane = state->planes[i]; drm_atomic_state_default_clear() 525 struct drm_plane *plane) drm_atomic_get_plane_state() 578 int drm_atomic_plane_set_property(struct drm_plane *plane, drm_atomic_plane_set_property() 629 drm_atomic_plane_get_property(struct drm_plane *plane, drm_atomic_plane_get_property() 669 struct drm_plane *plane, plane_switching_crtc() 696 static int drm_atomic_plane_check(struct drm_plane *plane, drm_atomic_plane_check() 928 struct drm_plane *plane = obj_to_plane(obj); drm_atomic_get_property() 960 struct drm_plane *plane = plane_state->plane; drm_atomic_set_crtc_for_plane() 1135 struct drm_plane *plane; drm_atomic_add_affected_planes() 1220 struct drm_plane *plane; drm_atomic_check_only() 1413 struct drm_plane *plane = obj_to_plane(obj); atomic_set_prop() 1451 struct drm_plane *plane; drm_atomic_clean_old_fb() 1485 struct drm_plane *plane; drm_mode_atomic_ioctl()
|
H A D | drm_atomic_helper.c | 59 struct drm_plane *plane) drm_atomic_helper_plane_changed() 496 struct drm_plane *plane; drm_atomic_helper_check_planes() 718 struct drm_plane *primary = crtc->primary; for_each_crtc_in_state() 900 struct drm_plane *plane; wait_for_fences() 920 struct drm_plane *plane; framebuffer_changed() 1136 struct drm_plane *plane = state->planes[i]; drm_atomic_helper_prepare_planes() 1156 struct drm_plane *plane = state->planes[i]; drm_atomic_helper_prepare_planes() 1218 struct drm_plane *plane; drm_atomic_helper_commit_planes() 1309 struct drm_plane *plane; drm_atomic_helper_commit_planes_on_crtc() 1359 struct drm_plane *plane; drm_atomic_helper_cleanup_planes() 1427 struct drm_plane *plane = state->planes[i]; drm_atomic_helper_swap_state() 1458 int drm_atomic_helper_update_plane(struct drm_plane *plane, drm_atomic_helper_update_plane() 1535 int drm_atomic_helper_disable_plane(struct drm_plane *plane) drm_atomic_helper_disable_plane() 1600 int __drm_atomic_helper_disable_plane(struct drm_plane *plane, __drm_atomic_helper_disable_plane() 1893 drm_atomic_helper_plane_set_property(struct drm_plane *plane, drm_atomic_helper_plane_set_property() 2021 struct drm_plane *plane = crtc->primary; drm_atomic_helper_page_flip() 2283 void drm_atomic_helper_plane_reset(struct drm_plane *plane) drm_atomic_helper_plane_reset() 2304 void __drm_atomic_helper_plane_duplicate_state(struct drm_plane *plane, __drm_atomic_helper_plane_duplicate_state() 2322 drm_atomic_helper_plane_duplicate_state(struct drm_plane *plane) drm_atomic_helper_plane_duplicate_state() 2346 void __drm_atomic_helper_plane_destroy_state(struct drm_plane *plane, __drm_atomic_helper_plane_destroy_state() 2362 void drm_atomic_helper_plane_destroy_state(struct drm_plane *plane, drm_atomic_helper_plane_destroy_state() 2452 struct drm_plane *plane; drm_atomic_helper_duplicate_state()
|
H A D | drm_modeset_lock.c | 147 struct drm_plane *plane) drm_modeset_lock_crtc() 440 struct drm_plane *plane; drm_modeset_lock_all_crtcs()
|
H A D | drm_crtc.c | 598 struct drm_plane *plane; drm_framebuffer_remove() 667 struct drm_plane *primary, drm_crtc_init_with_planes() 668 struct drm_plane *cursor, drm_crtc_init_with_planes() 1159 int drm_universal_plane_init(struct drm_device *dev, struct drm_plane *plane, drm_universal_plane_init() 1233 int drm_plane_init(struct drm_device *dev, struct drm_plane *plane, drm_plane_init() 1255 void drm_plane_cleanup(struct drm_plane *plane) drm_plane_cleanup() 1286 unsigned int drm_plane_index(struct drm_plane *plane) drm_plane_index() 1289 struct drm_plane *tmp; drm_plane_index() 1310 struct drm_plane * drm_plane_from_index() 1313 struct drm_plane *plane; drm_plane_from_index() 1334 void drm_plane_force_disable(struct drm_plane *plane) drm_plane_force_disable() 2192 struct drm_plane *plane; drm_mode_getplane_res() 2252 struct drm_plane *plane; drm_mode_getplane() 2305 int drm_plane_check_pixel_format(const struct drm_plane *plane, u32 format) drm_plane_check_pixel_format() 2352 static int __setplane_internal(struct drm_plane *plane, __setplane_internal() 2428 static int setplane_internal(struct drm_plane *plane, setplane_internal() 2465 struct drm_plane *plane; drm_mode_setplane() 4878 int drm_mode_plane_set_obj_prop(struct drm_plane *plane, drm_mode_plane_set_obj_prop() 5349 struct drm_plane *plane; drm_mode_config_reset() 5793 struct drm_plane *plane, *plt; drm_mode_config_cleanup()
|
H A D | drm_fb_helper.c | 342 struct drm_plane *plane; restore_fbdev_mode_atomic() 408 struct drm_plane *plane; restore_fbdev_mode() 1230 struct drm_plane *plane; pan_display_atomic()
|
H A D | drm_crtc_helper.c | 992 struct drm_plane *plane = crtc->primary; drm_helper_crtc_mode_set_base()
|
/linux-4.4.14/drivers/gpu/drm/tegra/ |
H A D | dc.c | 35 struct drm_plane base; 39 static inline struct tegra_plane *to_tegra_plane(struct drm_plane *plane) to_tegra_plane() 413 static void tegra_plane_destroy(struct drm_plane *plane) tegra_plane_destroy() 427 static void tegra_primary_plane_destroy(struct drm_plane *plane) tegra_primary_plane_destroy() 432 static void tegra_plane_reset(struct drm_plane *plane) tegra_plane_reset() 449 static struct drm_plane_state *tegra_plane_atomic_duplicate_state(struct drm_plane *plane) tegra_plane_atomic_duplicate_state() 466 static void tegra_plane_atomic_destroy_state(struct drm_plane *plane, tegra_plane_atomic_destroy_state() 482 static int tegra_plane_prepare_fb(struct drm_plane *plane, tegra_plane_prepare_fb() 488 static void tegra_plane_cleanup_fb(struct drm_plane *plane, tegra_plane_cleanup_fb() 511 static int tegra_plane_atomic_check(struct drm_plane *plane, tegra_plane_atomic_check() 558 static void tegra_plane_atomic_update(struct drm_plane *plane, tegra_plane_atomic_update() 599 static void tegra_plane_atomic_disable(struct drm_plane *plane, tegra_plane_atomic_disable() 633 static struct drm_plane *tegra_dc_primary_plane_create(struct drm_device *drm, tegra_dc_primary_plane_create() 678 static int tegra_cursor_atomic_check(struct drm_plane *plane, tegra_cursor_atomic_check() 708 static void tegra_cursor_atomic_update(struct drm_plane *plane, tegra_cursor_atomic_update() 770 static void tegra_cursor_atomic_disable(struct drm_plane *plane, tegra_cursor_atomic_disable() 804 static struct drm_plane *tegra_dc_cursor_plane_create(struct drm_device *drm, tegra_dc_cursor_plane_create() 841 static void tegra_overlay_plane_destroy(struct drm_plane *plane) tegra_overlay_plane_destroy() 873 static struct drm_plane *tegra_dc_overlay_plane_create(struct drm_device *drm, tegra_dc_overlay_plane_create() 906 struct drm_plane *plane; tegra_dc_add_planes() 1700 struct drm_plane *primary = NULL; tegra_dc_init() 1701 struct drm_plane *cursor = NULL; tegra_dc_init()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | overlay.c | 39 struct drm_plane base; 93 nv10_update_plane(struct drm_plane *plane, struct drm_crtc *crtc, nv10_update_plane() 175 nv10_disable_plane(struct drm_plane *plane) nv10_disable_plane() 191 nv_destroy_plane(struct drm_plane *plane) nv_destroy_plane() 226 nv_set_property(struct drm_plane *plane, nv_set_property() 344 nv04_update_plane(struct drm_plane *plane, struct drm_crtc *crtc, nv04_update_plane() 428 nv04_disable_plane(struct drm_plane *plane) nv04_disable_plane()
|
/linux-4.4.14/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_vop.c | 75 struct drm_plane base; 788 static int vop_update_plane_event(struct drm_plane *plane, vop_update_plane_event() 989 static int vop_update_plane(struct drm_plane *plane, struct drm_crtc *crtc, vop_update_plane() 1014 static int vop_disable_plane(struct drm_plane *plane) vop_disable_plane() 1052 static void vop_plane_destroy(struct drm_plane *plane) vop_plane_destroy() 1458 struct drm_plane *primary = NULL, *cursor = NULL, *plane; vop_create_crtc() 1465 * Create drm_plane for primary and cursor planes first, since we need vop_create_crtc()
|
/linux-4.4.14/drivers/gpu/drm/msm/ |
H A D | msm_atomic.c | 235 struct drm_plane *plane = state->planes[i]; msm_atomic_commit()
|
H A D | msm_drv.h | 131 struct drm_plane *planes[8];
|