From: Sam Ravnborg <sam@ravnborg.org>
To: Thomas Zimmermann <tzimmermann@suse.de>
Cc: linux-hyperv@vger.kernel.org, rodrigosiqueiramelo@gmail.com,
hdegoede@redhat.com, airlied@linux.ie,
dri-devel@lists.freedesktop.org,
maarten.lankhorst@linux.intel.com, mripard@kernel.org,
virtualization@lists.linux-foundation.org, melissa.srw@gmail.com,
drawat.floss@gmail.com, noralf@tronnes.org, daniel@ffwll.ch,
airlied@redhat.com, sean@poorly.run
Subject: Re: [PATCH 00/11] Provide offset-adjusted framebuffer mappings
Date: Tue, 3 Aug 2021 18:21:18 +0200 [thread overview]
Message-ID: <YQls/oxklkZWqEnD@ravnborg.org> (raw)
In-Reply-To: <20210803125928.27780-1-tzimmermann@suse.de>
Hi Thomas,
On Tue, Aug 03, 2021 at 02:59:17PM +0200, Thomas Zimmermann wrote:
> A framebuffer's offsets field might be non-zero to make the BO data
> start at the specified offset within the BO's memory. Handle this
> case in drm_gem_fb_vmap() and update all callers. So far, many drivers
> ignore the offsets, which can lead to visual artifacts.
>
> Patch 1 adds an optional argument to drm_gem_fb_vmap() to return the
> offset-adjusted data address for use with shadow-buffered planes.
>
> Patches 3 and 11 convert gud and vkms, which are the other callers of
> drm_gem_fb_vmap(). For gud, it's just a cleanup. Vkms will handle the
> framebuffer offsets correctly for its input and output framebuffers.
>
> The other patches convert users of shadow-buffered planes to use the
> data address. After conversion, each driver will use the correct data
> for non-zero offsets.
>
> drm/ast: Use offset-adjusted shadow-plane mappings
> drm/gud: Get offset-adjusted mapping from drm_gem_fb_vmap()
> drm/hyperv: Use offset-adjusted shadow-plane mappings
> drm/mgag200: Use offset-adjusted shadow-plane mappings
> drm/cirrus: Use offset-adjusted shadow-plane mappings
> drm/gm12u320: Use offset-adjusted shadow-plane mappings
> drm/simpledrm: Use offset-adjusted shadow-plane mapping
> drm/udl: Use offset-adjusted shadow-plane mapping
> drm/vbox: Use offset-adjusted shadow-plane mappings
> drm/vkms: Use offset-adjusted shadow-plane mappings and output
Everything looked good while reading through the patches.
I cannot say if everything was properly converted but the patches looked
good.
So they are all:
Acked-by: Sam Ravnborg <sam@ravnborg.org>
There was a few TODO comments visible aboput using the mapping api
properly. I assume this is coming in a later patch set..
Sam
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
WARNING: multiple messages have this Message-ID (diff)
From: Sam Ravnborg <sam@ravnborg.org>
To: Thomas Zimmermann <tzimmermann@suse.de>
Cc: airlied@redhat.com, airlied@linux.ie, daniel@ffwll.ch,
maarten.lankhorst@linux.intel.com, mripard@kernel.org,
noralf@tronnes.org, drawat.floss@gmail.com, kraxel@redhat.com,
hdegoede@redhat.com, sean@poorly.run,
rodrigosiqueiramelo@gmail.com, melissa.srw@gmail.com,
dri-devel@lists.freedesktop.org, linux-hyperv@vger.kernel.org,
virtualization@lists.linux-foundation.org
Subject: Re: [PATCH 00/11] Provide offset-adjusted framebuffer mappings
Date: Tue, 3 Aug 2021 18:21:18 +0200 [thread overview]
Message-ID: <YQls/oxklkZWqEnD@ravnborg.org> (raw)
In-Reply-To: <20210803125928.27780-1-tzimmermann@suse.de>
Hi Thomas,
On Tue, Aug 03, 2021 at 02:59:17PM +0200, Thomas Zimmermann wrote:
> A framebuffer's offsets field might be non-zero to make the BO data
> start at the specified offset within the BO's memory. Handle this
> case in drm_gem_fb_vmap() and update all callers. So far, many drivers
> ignore the offsets, which can lead to visual artifacts.
>
> Patch 1 adds an optional argument to drm_gem_fb_vmap() to return the
> offset-adjusted data address for use with shadow-buffered planes.
>
> Patches 3 and 11 convert gud and vkms, which are the other callers of
> drm_gem_fb_vmap(). For gud, it's just a cleanup. Vkms will handle the
> framebuffer offsets correctly for its input and output framebuffers.
>
> The other patches convert users of shadow-buffered planes to use the
> data address. After conversion, each driver will use the correct data
> for non-zero offsets.
>
> drm/ast: Use offset-adjusted shadow-plane mappings
> drm/gud: Get offset-adjusted mapping from drm_gem_fb_vmap()
> drm/hyperv: Use offset-adjusted shadow-plane mappings
> drm/mgag200: Use offset-adjusted shadow-plane mappings
> drm/cirrus: Use offset-adjusted shadow-plane mappings
> drm/gm12u320: Use offset-adjusted shadow-plane mappings
> drm/simpledrm: Use offset-adjusted shadow-plane mapping
> drm/udl: Use offset-adjusted shadow-plane mapping
> drm/vbox: Use offset-adjusted shadow-plane mappings
> drm/vkms: Use offset-adjusted shadow-plane mappings and output
Everything looked good while reading through the patches.
I cannot say if everything was properly converted but the patches looked
good.
So they are all:
Acked-by: Sam Ravnborg <sam@ravnborg.org>
There was a few TODO comments visible aboput using the mapping api
properly. I assume this is coming in a later patch set..
Sam
next prev parent reply other threads:[~2021-08-03 16:21 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-03 12:59 [PATCH 00/11] Provide offset-adjusted framebuffer mappings Thomas Zimmermann
2021-08-03 12:59 ` Thomas Zimmermann
2021-08-03 12:59 ` [PATCH 01/11] drm/gem: Provide offset-adjusted framebuffer BO mappings Thomas Zimmermann
2021-08-03 12:59 ` Thomas Zimmermann
2021-08-03 16:13 ` Sam Ravnborg
2021-08-03 16:13 ` Sam Ravnborg
2021-08-03 12:59 ` [PATCH 02/11] drm/ast: Use offset-adjusted shadow-plane mappings Thomas Zimmermann
2021-08-03 12:59 ` Thomas Zimmermann
2021-08-03 12:59 ` [PATCH 03/11] drm/gud: Get offset-adjusted mapping from drm_gem_fb_vmap() Thomas Zimmermann
2021-08-03 12:59 ` Thomas Zimmermann
2021-08-03 12:59 ` [PATCH 04/11] drm/hyperv: Use offset-adjusted shadow-plane mappings Thomas Zimmermann
2021-08-03 12:59 ` Thomas Zimmermann
2021-08-03 12:59 ` [PATCH 05/11] drm/mgag200: " Thomas Zimmermann
2021-08-03 12:59 ` Thomas Zimmermann
2021-08-03 12:59 ` [PATCH 06/11] drm/cirrus: " Thomas Zimmermann
2021-08-03 12:59 ` Thomas Zimmermann
2021-08-03 12:59 ` [PATCH 07/11] drm/gm12u320: " Thomas Zimmermann
2021-08-03 12:59 ` Thomas Zimmermann
2021-08-03 12:59 ` [PATCH 08/11] drm/simpledrm: Use offset-adjusted shadow-plane mapping Thomas Zimmermann
2021-08-03 12:59 ` Thomas Zimmermann
2021-08-03 12:59 ` [PATCH 09/11] drm/udl: " Thomas Zimmermann
2021-08-03 12:59 ` Thomas Zimmermann
2021-08-03 12:59 ` [PATCH 10/11] drm/vbox: Use offset-adjusted shadow-plane mappings Thomas Zimmermann
2021-08-03 12:59 ` Thomas Zimmermann
2021-08-03 12:59 ` [PATCH 11/11] drm/vkms: Use offset-adjusted shadow-plane mappings and output Thomas Zimmermann
2021-08-03 12:59 ` Thomas Zimmermann
2021-08-03 16:21 ` Sam Ravnborg [this message]
2021-08-03 16:21 ` [PATCH 00/11] Provide offset-adjusted framebuffer mappings Sam Ravnborg
2021-08-04 18:22 ` Thomas Zimmermann
2021-08-04 18:22 ` Thomas Zimmermann
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=YQls/oxklkZWqEnD@ravnborg.org \
--to=sam@ravnborg.org \
--cc=airlied@linux.ie \
--cc=airlied@redhat.com \
--cc=daniel@ffwll.ch \
--cc=drawat.floss@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=hdegoede@redhat.com \
--cc=linux-hyperv@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=melissa.srw@gmail.com \
--cc=mripard@kernel.org \
--cc=noralf@tronnes.org \
--cc=rodrigosiqueiramelo@gmail.com \
--cc=sean@poorly.run \
--cc=tzimmermann@suse.de \
--cc=virtualization@lists.linux-foundation.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.