Re: [Xen-devel][PATCH 2/3] drm/xen-front: Use Xen common shared buffer implementation

From: Juergen Gross
Date: Fri Nov 23 2018 - 03:25:04 EST


On 22/11/2018 15:33, Daniel Vetter wrote:
> On Thu, Nov 22, 2018 at 12:02:29PM +0200, Oleksandr Andrushchenko wrote:
>> From: Oleksandr Andrushchenko <oleksandr_andrushchenko@xxxxxxxx>
>>
>> Use page directory based shared buffer implementation
>> now available as common code for Xen frontend drivers.
>>
>> Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@xxxxxxxx>
>> ---
>> drivers/gpu/drm/xen/Kconfig | 1 +
>> drivers/gpu/drm/xen/Makefile | 1 -
>> drivers/gpu/drm/xen/xen_drm_front.c | 60 ++--
>> drivers/gpu/drm/xen/xen_drm_front_gem.c | 1 -
>> drivers/gpu/drm/xen/xen_drm_front_shbuf.c | 414 ----------------------
>> drivers/gpu/drm/xen/xen_drm_front_shbuf.h | 64 ----
>> 6 files changed, 30 insertions(+), 511 deletions(-)
>> delete mode 100644 drivers/gpu/drm/xen/xen_drm_front_shbuf.c
>> delete mode 100644 drivers/gpu/drm/xen/xen_drm_front_shbuf.h
> Anyway, I'm all for code duplication removal, so if the Xen folks are
> happy with patch 1, this one here has my ack. Might also be best to merge
> all three through the Xen tree. Fallback would be xen folks sending a
> topic pull request with these 3 patches to drm-misc and takashi's sound
> tree.

I'm fine with taking it through the Xen tree.


Juergen