From mboxrd@z Thu Jan 1 00:00:00 1970 From: narmstrong@baylibre.com (Neil Armstrong) Date: Mon, 5 Nov 2018 13:51:46 +0100 Subject: [PATCH 0/2] drm/meson: Allow using optional canvas provider In-Reply-To: <20181105104508.23090-1-mjourdan@baylibre.com> References: <20181105104508.23090-1-mjourdan@baylibre.com> Message-ID: <1a3d3b7a-5050-7b4c-bda6-8ef532403d01@baylibre.com> To: linus-amlogic@lists.infradead.org List-Id: linus-amlogic.lists.infradead.org Hi Maxime, On 05/11/2018 11:45, Maxime Jourdan wrote: > The meson DRM driver currently uses constant, static canvas indexes. > > This is not optimal and could conflict with other drivers also using > canvases. Indeed, it's now time to use the canvas provider merged in 4.20-rc1 ! > > This patch series allows the driver to optionnally use a canvas provider > module that is able to dispatch canvases, on demand and free of conflict. > > In the future, the current way of doing things will be deprecated. Do you confirm you will send a patch to remove the legacy canvas code when everything is merged (including DT changes) ? I'll wait until the bindings are reviewed, then I'll push the serie to drm-misc-next. Thanks, Neil > > Maxime Jourdan (2): > dt-bindings: display: amlogic, meson-vpu: Add optional canvas provider > node > drm/meson: Use optional canvas provider > > .../bindings/display/amlogic,meson-vpu.txt | 2 + > drivers/gpu/drm/meson/Kconfig | 1 + > drivers/gpu/drm/meson/meson_crtc.c | 14 ++++-- > drivers/gpu/drm/meson/meson_drv.c | 46 ++++++++++++------- > drivers/gpu/drm/meson/meson_drv.h | 4 ++ > drivers/gpu/drm/meson/meson_plane.c | 8 +++- > 6 files changed, 53 insertions(+), 22 deletions(-) >