dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Noralf Trønnes" <noralf@tronnes.org>
To: dri-devel@lists.freedesktop.org
Cc: narmstrong@baylibre.com, liviu.dudau@arm.com,
	linux@armlinux.org.uk, thierry.reding@gmail.com,
	laurent.pinchart@ideasonboard.com, daniel.vetter@intel.com,
	marex@denx.de, boris.brezillon@free-electrons.com,
	abrodkin@synopsys.com, z.liuxinliang@hisilicon.com,
	kong.kongxinwei@hisilicon.com, tomi.valkeinen@ti.com,
	bskeggs@redhat.com, airlied@redhat.com, puck.chen@hisilicon.com,
	zourongrong@gmail.com, jsarha@ti.com, vincent.abriou@st.com,
	alison.wang@freescale.com, sw0312.kim@samsung.com,
	philippe.cornu@st.com, yannick.fertre@st.com,
	kyungmin.park@samsung.com, alexander.deucher@amd.com,
	maxime.ripard@free-electrons.com, shawnguo@kernel.org,
	christian.koenig@amd.com, kraxel@redhat.com
Subject: Re: [PATCH 00/41] drm/dumb-buffers: Add defaults for .dumb_map_offset and .dumb_destroy
Date: Sat, 29 Jul 2017 14:09:41 +0200	[thread overview]
Message-ID: <ac3e57d2-32db-1aab-e214-9164875fe515@tronnes.org> (raw)
In-Reply-To: <1500837417-40580-1-git-send-email-noralf@tronnes.org>


Den 23.07.2017 21.16, skrev Noralf Trønnes:
> This adds defaults for the drm_driver.dumb_destroy and
> drm_driver.dumb_map_offset callbacks as discussed with Daniel.
>
> vmwgfx is the only driver that doesn't use drm_gem_dumb_destroy().
>
> vgem
> ----
> vgem changes behaviour after this, because it didn't have .dumb_destroy
> set, something the docs mandates.
>
> This patchset is part of a process to add a shmem gem library like the
> cma library. The common parts between the two goes into core or helpers.
>
> Noralf.
>

Thanks for reviews and testing.
The first batch is applied to drm-misc-next:

[01/41] drm/gem: Add drm_gem_dumb_map_offset()
[02/41] drm/dumb-buffers: Add defaults for .dumb_map_offset and 
.dumb_destroy
[03/41] drm/arc: Use .dumb_map_offset and .dumb_destroy defaults
[04/41] drm/arm: hdlcd: Use .dumb_map_offset and .dumb_destroy defaults
[05/41] drm/arm: mali-dp: Use .dumb_map_offset and .dumb_destroy defaults
[06/41] drm/atmel-hlcdc: Use .dumb_map_offset and .dumb_destroy defaults
[09/41] drm/imx: Use .dumb_map_offset and .dumb_destroy defaults
[12/41] drm/pl111: Use .dumb_map_offset and .dumb_destroy defaults
[13/41] drm/rcar-du: Use .dumb_map_offset and .dumb_destroy defaults
[14/41] drm/shmobile: Use .dumb_map_offset and .dumb_destroy defaults
[16/41] drm/stm: Use .dumb_map_offset and .dumb_destroy defaults
[17/41] drm/sun4i: Use .dumb_map_offset and .dumb_destroy defaults
[18/41] drm/tilcdc: Use .dumb_map_offset and .dumb_destroy defaults
[19/41] drm/vc4: Use .dumb_map_offset and .dumb_destroy defaults
[20/41] drm/zte: Use .dumb_map_offset and .dumb_destroy defaults
[21/41] drm/tinydrm: Use .dumb_map_offset and .dumb_destroy defaults
[22/41] drm/mediatek: Use .dumb_map_offset and .dumb_destroy defaults
[24/41] drm/rockchip: Use .dumb_map_offset and .dumb_destroy defaults
[29/41] drm/amdgpu: Use the drm_driver.dumb_destroy default
[30/41] drm/omapdrm: Use the drm_driver.dumb_destroy default
[32/41] drm/nouveau: Use the drm_driver.dumb_destroy default
[36/41] drm/hisilicon: hibmc: Use the drm_driver.dumb_destroy default


> Noralf Trønnes (41):
>    drm/gem: Add drm_gem_dumb_map_offset()
>    drm/dumb-buffers: Add defaults for .dumb_map_offset and .dumb_destroy
>    drm/arc: Use .dumb_map_offset and .dumb_destroy defaults
>    drm/arm: hdlcd: Use .dumb_map_offset and .dumb_destroy defaults
>    drm/arm: mali-dp: Use .dumb_map_offset and .dumb_destroy defaults
>    drm/atmel-hlcdc: Use .dumb_map_offset and .dumb_destroy defaults
>    drm/fsl-dcu: Use .dumb_map_offset and .dumb_destroy defaults
>    drm/kirin: Use .dumb_map_offset and .dumb_destroy defaults
>    drm/imx: Use .dumb_map_offset and .dumb_destroy defaults
>    drm/meson: Use .dumb_map_offset and .dumb_destroy defaults
>    drm/mxsfb: Use .dumb_map_offset and .dumb_destroy defaults
>    drm/pl111: Use .dumb_map_offset and .dumb_destroy defaults
>    drm/rcar-du: Use .dumb_map_offset and .dumb_destroy defaults
>    drm/shmobile: Use .dumb_map_offset and .dumb_destroy defaults
>    drm/sti: Use .dumb_map_offset and .dumb_destroy defaults
>    drm/stm: Use .dumb_map_offset and .dumb_destroy defaults
>    drm/sun4i: Use .dumb_map_offset and .dumb_destroy defaults
>    drm/tilcdc: Use .dumb_map_offset and .dumb_destroy defaults
>    drm/vc4: Use .dumb_map_offset and .dumb_destroy defaults
>    drm/zte: Use .dumb_map_offset and .dumb_destroy defaults
>    drm/tinydrm: Use .dumb_map_offset and .dumb_destroy defaults
>    drm/mediatek: Use .dumb_map_offset and .dumb_destroy defaults
>    drm/gma500: Use .dumb_map_offset and .dumb_destroy defaults
>    drm/rockchip: Use .dumb_map_offset and .dumb_destroy defaults
>    drm/tegra: Use .dumb_map_offset and .dumb_destroy defaults
>    drm/cirrus: Use the drm_driver.dumb_destroy default
>    drm/udl: Use the drm_driver.dumb_destroy default
>    drm/qxl: Use the drm_driver.dumb_destroy default
>    drm/amdgpu: Use the drm_driver.dumb_destroy default
>    drm/omapdrm: Use the drm_driver.dumb_destroy default
>    drm/ast: Use the drm_driver.dumb_destroy default
>    drm/nouveau: Use the drm_driver.dumb_destroy default
>    drm/i915: Use the drm_driver.dumb_destroy default
>    drm/msm: Use the drm_driver.dumb_destroy default
>    drm/exynos: Use the drm_driver.dumb_destroy default
>    drm/hisilicon: hibmc: Use the drm_driver.dumb_destroy default
>    drm/mgag200: Use the drm_driver.dumb_destroy default
>    drm/radeon: Use the drm_driver.dumb_destroy default
>    drm/bochs: Use the drm_driver.dumb_destroy default
>    drm/armada: Use the drm_driver.dumb_destroy default
>    drm/virtio: Use the drm_driver.dumb_destroy default
>
>   drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c         |  1 -
>   drivers/gpu/drm/arc/arcpgu_drv.c                |  2 --
>   drivers/gpu/drm/arm/hdlcd_drv.c                 |  2 --
>   drivers/gpu/drm/arm/malidp_drv.c                |  2 --
>   drivers/gpu/drm/armada/armada_drv.c             |  1 -
>   drivers/gpu/drm/armada/armada_gem.c             |  6 -----
>   drivers/gpu/drm/armada/armada_gem.h             |  2 --
>   drivers/gpu/drm/ast/ast_drv.c                   |  1 -
>   drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c    |  2 --
>   drivers/gpu/drm/bochs/bochs_drv.c               |  1 -
>   drivers/gpu/drm/cirrus/cirrus_drv.c             |  1 -
>   drivers/gpu/drm/drm_dumb_buffers.c              | 26 ++++++++++++------
>   drivers/gpu/drm/drm_gem.c                       | 35 +++++++++++++++++++++++++
>   drivers/gpu/drm/exynos/exynos_drm_drv.c         |  1 -
>   drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c       |  2 --
>   drivers/gpu/drm/gma500/gem.c                    | 30 ---------------------
>   drivers/gpu/drm/gma500/psb_drv.c                |  2 --
>   drivers/gpu/drm/gma500/psb_drv.h                |  2 --
>   drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c |  1 -
>   drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c |  2 --
>   drivers/gpu/drm/i915/i915_drv.c                 |  1 -
>   drivers/gpu/drm/imx/imx-drm-core.c              |  2 --
>   drivers/gpu/drm/mediatek/mtk_drm_drv.c          |  2 --
>   drivers/gpu/drm/mediatek/mtk_drm_gem.c          | 25 ------------------
>   drivers/gpu/drm/mediatek/mtk_drm_gem.h          |  3 ---
>   drivers/gpu/drm/meson/meson_drv.c               |  2 --
>   drivers/gpu/drm/mgag200/mgag200_drv.c           |  1 -
>   drivers/gpu/drm/msm/msm_drv.c                   |  1 -
>   drivers/gpu/drm/mxsfb/mxsfb_drv.c               |  2 --
>   drivers/gpu/drm/nouveau/nouveau_drm.c           |  1 -
>   drivers/gpu/drm/omapdrm/omap_drv.c              |  1 -
>   drivers/gpu/drm/pl111/pl111_drv.c               |  2 --
>   drivers/gpu/drm/qxl/qxl_drv.c                   |  1 -
>   drivers/gpu/drm/radeon/radeon_drv.c             |  1 -
>   drivers/gpu/drm/rcar-du/rcar_du_drv.c           |  2 --
>   drivers/gpu/drm/rockchip/rockchip_drm_drv.c     |  2 --
>   drivers/gpu/drm/rockchip/rockchip_drm_gem.c     | 26 ------------------
>   drivers/gpu/drm/rockchip/rockchip_drm_gem.h     |  3 ---
>   drivers/gpu/drm/shmobile/shmob_drm_drv.c        |  2 --
>   drivers/gpu/drm/sti/sti_drv.c                   |  2 --
>   drivers/gpu/drm/stm/drv.c                       |  2 --
>   drivers/gpu/drm/sun4i/sun4i_drv.c               |  2 --
>   drivers/gpu/drm/tegra/drm.c                     |  2 --
>   drivers/gpu/drm/tegra/gem.c                     | 21 ---------------
>   drivers/gpu/drm/tegra/gem.h                     |  2 --
>   drivers/gpu/drm/tilcdc/tilcdc_drv.c             |  2 --
>   drivers/gpu/drm/udl/udl_drv.c                   |  1 -
>   drivers/gpu/drm/vc4/vc4_drv.c                   |  2 --
>   drivers/gpu/drm/virtio/virtgpu_drv.c            |  1 -
>   drivers/gpu/drm/virtio/virtgpu_drv.h            |  3 ---
>   drivers/gpu/drm/virtio/virtgpu_gem.c            |  7 -----
>   drivers/gpu/drm/zte/zx_drm_drv.c                |  2 --
>   include/drm/drm_gem.h                           |  2 ++
>   include/drm/tinydrm/tinydrm.h                   |  4 +--
>   54 files changed, 56 insertions(+), 201 deletions(-)
>
> --
> 2.7.4
>

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

      parent reply	other threads:[~2017-07-29 16:45 UTC|newest]

Thread overview: 78+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-23 19:16 [PATCH 00/41] drm/dumb-buffers: Add defaults for .dumb_map_offset and .dumb_destroy Noralf Trønnes
2017-07-23 19:16 ` [PATCH 01/41] drm/gem: Add drm_gem_dumb_map_offset() Noralf Trønnes
2017-07-24  7:46   ` Philipp Zabel
2017-07-24 22:50   ` Laurent Pinchart
2017-07-26 12:05   ` Emil Velikov
2017-07-26 18:41     ` Noralf Trønnes
2017-07-27  0:13       ` Emil Velikov
2017-07-27 15:57         ` Noralf Trønnes
2017-07-27 10:01       ` Laurent Pinchart
2017-07-26 14:19   ` Sean Paul
2017-07-23 19:16 ` [PATCH 02/41] drm/dumb-buffers: Add defaults for .dumb_map_offset and .dumb_destroy Noralf Trønnes
2017-07-24 16:33   ` Eric Anholt
2017-07-26 14:24   ` Sean Paul
2017-07-23 19:16 ` [PATCH 03/41] drm/arc: Use .dumb_map_offset and .dumb_destroy defaults Noralf Trønnes
2017-07-24  6:51   ` Alexey Brodkin
2017-07-23 19:16 ` [PATCH 04/41] drm/arm: hdlcd: " Noralf Trønnes
2017-07-24 12:10   ` Brian Starkey
2017-07-23 19:16 ` [PATCH 05/41] drm/arm: mali-dp: " Noralf Trønnes
2017-07-24 12:11   ` Brian Starkey
2017-07-23 19:16 ` [PATCH 06/41] drm/atmel-hlcdc: " Noralf Trønnes
2017-07-27 19:21   ` Boris Brezillon
2017-07-23 19:16 ` [PATCH 07/41] drm/fsl-dcu: " Noralf Trønnes
2017-07-29 17:24   ` Stefan Agner
2017-08-04 13:15     ` Noralf Trønnes
2017-07-23 19:16 ` [PATCH 08/41] drm/kirin: " Noralf Trønnes
2017-07-23 19:16 ` [PATCH 09/41] drm/imx: " Noralf Trønnes
2017-07-24  7:46   ` Philipp Zabel
2017-07-24 19:37     ` Noralf Trønnes
2017-07-23 19:16 ` [PATCH 10/41] drm/meson: " Noralf Trønnes
2017-07-23 19:16 ` [PATCH 11/41] drm/mxsfb: " Noralf Trønnes
2017-07-23 19:16 ` [PATCH 12/41] drm/pl111: " Noralf Trønnes
2017-07-24 16:34   ` Eric Anholt
2017-07-23 19:16 ` [PATCH 13/41] drm/rcar-du: " Noralf Trønnes
2017-07-24 22:51   ` Laurent Pinchart
2017-07-23 19:16 ` [PATCH 14/41] drm/shmobile: " Noralf Trønnes
2017-07-24 22:51   ` Laurent Pinchart
2017-07-23 19:16 ` [PATCH 15/41] drm/sti: " Noralf Trønnes
2017-07-23 19:16 ` [PATCH 16/41] drm/stm: " Noralf Trønnes
2017-07-25  8:43   ` Philippe CORNU
2017-07-23 19:16 ` [PATCH 17/41] drm/sun4i: " Noralf Trønnes
2017-07-27  6:34   ` Maxime Ripard
2017-07-23 19:16 ` [PATCH 18/41] drm/tilcdc: " Noralf Trønnes
2017-07-27 12:18   ` Jyri Sarha
2017-07-23 19:16 ` [PATCH 19/41] drm/vc4: " Noralf Trønnes
2017-07-24 16:33   ` Eric Anholt
2017-07-23 19:16 ` [PATCH 20/41] drm/zte: " Noralf Trønnes
2017-07-25 14:15   ` Shawn Guo
2017-07-23 19:16 ` [PATCH 21/41] drm/tinydrm: " Noralf Trønnes
2017-07-26 14:25   ` Sean Paul
2017-07-23 19:16 ` [PATCH 22/41] drm/mediatek: " Noralf Trønnes
2017-07-24  7:38   ` Philipp Zabel
2017-07-23 19:16 ` [PATCH 23/41] drm/gma500: " Noralf Trønnes
2017-07-23 19:16 ` [PATCH 24/41] drm/rockchip: " Noralf Trønnes
2017-07-26 14:19   ` Sean Paul
2017-07-23 19:16 ` [PATCH 25/41] drm/tegra: " Noralf Trønnes
2017-07-23 19:16 ` [PATCH 26/41] drm/cirrus: Use the drm_driver.dumb_destroy default Noralf Trønnes
2017-07-23 19:16 ` [PATCH 27/41] drm/udl: " Noralf Trønnes
2017-07-23 19:16 ` [PATCH 28/41] drm/qxl: " Noralf Trønnes
2017-07-23 19:16 ` [PATCH 29/41] drm/amdgpu: " Noralf Trønnes
2017-07-24 15:18   ` Deucher, Alexander
2017-07-23 19:16 ` [PATCH 30/41] drm/omapdrm: " Noralf Trønnes
2017-07-24 22:51   ` Laurent Pinchart
2017-07-23 19:16 ` [PATCH 31/41] drm/ast: " Noralf Trønnes
2017-07-23 19:16 ` [PATCH 32/41] drm/nouveau: " Noralf Trønnes
2017-07-23 19:16 ` [PATCH 33/41] drm/i915: " Noralf Trønnes
2017-07-23 19:16 ` [PATCH 34/41] drm/msm: " Noralf Trønnes
2017-07-23 19:16 ` [PATCH 35/41] drm/exynos: " Noralf Trønnes
2017-07-23 19:16 ` [PATCH 36/41] drm/hisilicon: hibmc: " Noralf Trønnes
2017-07-26 14:25   ` Sean Paul
2017-07-23 19:16 ` [PATCH 37/41] drm/mgag200: " Noralf Trønnes
2017-07-23 19:16 ` [PATCH 38/41] drm/radeon: " Noralf Trønnes
2017-07-23 19:16 ` [PATCH 39/41] drm/bochs: " Noralf Trønnes
2017-07-23 19:16 ` [PATCH 40/41] drm/armada: " Noralf Trønnes
2017-07-23 19:16 ` [PATCH 41/41] drm/virtio: " Noralf Trønnes
2017-07-24 19:39 ` [PATCH 00/41] drm/dumb-buffers: Add defaults for .dumb_map_offset and .dumb_destroy Noralf Trønnes
2017-07-25  6:57   ` Daniel Vetter
2017-07-25  8:44 ` Philippe CORNU
2017-07-29 12:09 ` Noralf Trønnes [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ac3e57d2-32db-1aab-e214-9164875fe515@tronnes.org \
    --to=noralf@tronnes.org \
    --cc=abrodkin@synopsys.com \
    --cc=airlied@redhat.com \
    --cc=alexander.deucher@amd.com \
    --cc=alison.wang@freescale.com \
    --cc=boris.brezillon@free-electrons.com \
    --cc=bskeggs@redhat.com \
    --cc=christian.koenig@amd.com \
    --cc=daniel.vetter@intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jsarha@ti.com \
    --cc=kong.kongxinwei@hisilicon.com \
    --cc=kraxel@redhat.com \
    --cc=kyungmin.park@samsung.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux@armlinux.org.uk \
    --cc=liviu.dudau@arm.com \
    --cc=marex@denx.de \
    --cc=maxime.ripard@free-electrons.com \
    --cc=narmstrong@baylibre.com \
    --cc=philippe.cornu@st.com \
    --cc=puck.chen@hisilicon.com \
    --cc=shawnguo@kernel.org \
    --cc=sw0312.kim@samsung.com \
    --cc=thierry.reding@gmail.com \
    --cc=tomi.valkeinen@ti.com \
    --cc=vincent.abriou@st.com \
    --cc=yannick.fertre@st.com \
    --cc=z.liuxinliang@hisilicon.com \
    --cc=zourongrong@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox