/linux/drivers/soc/amlogic/ |
A D | meson-canvas.c | 55 struct meson_canvas *canvas; in meson_canvas_get() local 75 if (!canvas) { in meson_canvas_get() 80 return canvas; in meson_canvas_get() 93 dev_err(canvas->dev, in meson_canvas_config() 100 dev_err(canvas->dev, in meson_canvas_config() 137 if (!canvas->used[i]) { in meson_canvas_alloc() 138 canvas->used[i] = 1; in meson_canvas_alloc() 157 dev_err(canvas->dev, in meson_canvas_free() 174 canvas = devm_kzalloc(dev, sizeof(*canvas), GFP_KERNEL); in meson_canvas_probe() 175 if (!canvas) in meson_canvas_probe() [all …]
|
A D | Makefile | 2 obj-$(CONFIG_MESON_CANVAS) += meson-canvas.o
|
A D | Kconfig | 9 Say yes to support the canvas IP for Amlogic SoCs.
|
/linux/Documentation/devicetree/bindings/soc/amlogic/ |
A D | amlogic,canvas.yaml | 5 $id: "http://devicetree.org/schemas/soc/amlogic/amlogic,canvas.yaml#" 15 A canvas is a collection of metadata that describes a pixel buffer. 19 Many IPs within Amlogic SoCs rely on canvas indexes to read/write pixel data 23 Amlogic SoCs have 256 canvas. 30 - amlogic,meson8-canvas 31 - amlogic,meson8b-canvas 32 - amlogic,meson8m2-canvas 33 - const: amlogic,canvas 34 - const: amlogic,canvas # GXBB and newer SoCs 47 canvas: video-lut@48 { [all …]
|
/linux/drivers/gpu/drm/meson/ |
A D | meson_drv.c | 237 priv->canvas = meson_canvas_get(dev); in meson_drv_bind_master() 238 if (IS_ERR(priv->canvas)) { in meson_drv_bind_master() 239 ret = PTR_ERR(priv->canvas); in meson_drv_bind_master() 248 meson_canvas_free(priv->canvas, priv->canvas_id_osd1); in meson_drv_bind_master() 253 meson_canvas_free(priv->canvas, priv->canvas_id_osd1); in meson_drv_bind_master() 254 meson_canvas_free(priv->canvas, priv->canvas_id_vd1_0); in meson_drv_bind_master() 259 meson_canvas_free(priv->canvas, priv->canvas_id_osd1); in meson_drv_bind_master() 260 meson_canvas_free(priv->canvas, priv->canvas_id_vd1_0); in meson_drv_bind_master() 261 meson_canvas_free(priv->canvas, priv->canvas_id_vd1_1); in meson_drv_bind_master() 369 if (priv->canvas) { in meson_drv_unbind() [all …]
|
A D | meson_crtc.c | 370 meson_canvas_config(priv->canvas, priv->canvas_id_osd1, in meson_crtc_irq() 443 meson_canvas_config(priv->canvas, in meson_crtc_irq() 453 meson_canvas_config(priv->canvas, in meson_crtc_irq() 463 meson_canvas_config(priv->canvas, in meson_crtc_irq()
|
A D | meson_drv.h | 44 struct meson_canvas *canvas; member
|
/linux/include/linux/soc/amlogic/ |
A D | meson-canvas.h | 39 int meson_canvas_alloc(struct meson_canvas *canvas, u8 *canvas_index); 47 int meson_canvas_free(struct meson_canvas *canvas, u8 canvas_index); 61 int meson_canvas_config(struct meson_canvas *canvas, u8 canvas_index,
|
/linux/Documentation/devicetree/bindings/media/ |
A D | amlogic,gx-vdec.yaml | 81 amlogic,canvas: 82 description: should point to a canvas provider node 122 - amlogic,canvas 139 amlogic,canvas = <&canvas>;
|
/linux/arch/arm/boot/dts/ |
A D | meson8m2.dtsi | 18 /* the offset of the canvas registers has changed compared to Meson8 */ 21 canvas: video-lut@48 { label 22 compatible = "amlogic,meson8m2-canvas", "amlogic,canvas";
|
A D | meson8.dtsi | 268 canvas: video-lut@20 { label 269 compatible = "amlogic,meson8-canvas", 270 "amlogic,canvas";
|
A D | meson8b.dtsi | 245 canvas: video-lut@48 { label 246 compatible = "amlogic,meson8b-canvas", 247 "amlogic,canvas";
|
/linux/drivers/staging/media/meson/vdec/ |
A D | vdec_helpers.c | 89 ret = meson_canvas_alloc(sess->core->canvas, canvas_id); in canvas_alloc() 116 meson_canvas_config(core->canvas, canvas_id[0], buf_paddr[0], in set_canvas_yuv420m() 122 meson_canvas_config(core->canvas, canvas_id[1], buf_paddr[1], in set_canvas_yuv420m() 128 meson_canvas_config(core->canvas, canvas_id[2], buf_paddr[2], in set_canvas_yuv420m() 160 meson_canvas_config(core->canvas, canvas_id[0], buf_paddr[0], in set_canvas_nv12m() 166 meson_canvas_config(core->canvas, canvas_id[1], buf_paddr[1], in set_canvas_nv12m()
|
A D | vdec.h | 79 struct meson_canvas *canvas; member
|
A D | vdec.c | 370 meson_canvas_free(sess->core->canvas, sess->canvas_alloc[i]); in vdec_free_canvas() 1024 core->canvas = meson_canvas_get(dev); in vdec_probe() 1025 if (IS_ERR(core->canvas)) in vdec_probe() 1026 return PTR_ERR(core->canvas); in vdec_probe()
|
/linux/arch/arm64/boot/dts/amlogic/ |
A D | meson-gx.dtsi | 518 amlogic,canvas = <&canvas>; 541 canvas: video-lut@48 { label 542 compatible = "amlogic,canvas"; 626 amlogic,canvas = <&canvas>;
|
A D | meson-g12-common.dtsi | 1612 canvas: video-lut@48 { label 1613 compatible = "amlogic,canvas"; 2117 amlogic,canvas = <&canvas>; 2138 amlogic,canvas = <&canvas>;
|