Hi James. I have no clue on the origin of this patch. But just to mke sure we do not hit the tree with some trivial issues here goes... Sam On Thu, Jun 06, 2019 at 02:20:32PM -0600, James Hilliard wrote: > Imported from https://git.tizen.org/cgit/kernel/kernel-mfld-blackbay/ > > This is currently not functional and based off of an older version of > the gma500 driver. From the commit log this was written by Intel, is > anyone aware of a more up to date version? > > I'm looking to see if this would be a decent starting point for adding > gma500 atomic support to mainline and how best to approach that. > > Signed-off-by: James Hilliard <james.hilliard1@xxxxxxxxx> > --- > drivers/gpu/drm/gma500/Makefile | 1 + > drivers/gpu/drm/gma500/psb_page_flip.c | 600 +++++++++++++++++++++++++ > drivers/gpu/drm/gma500/psb_page_flip.h | 38 ++ > 3 files changed, 639 insertions(+) > create mode 100644 drivers/gpu/drm/gma500/psb_page_flip.c > create mode 100644 drivers/gpu/drm/gma500/psb_page_flip.h > > diff --git a/drivers/gpu/drm/gma500/Makefile b/drivers/gpu/drm/gma500/Makefile > index c8f2c89be99d..3db535ef51cb 100644 > --- a/drivers/gpu/drm/gma500/Makefile > +++ b/drivers/gpu/drm/gma500/Makefile > @@ -24,6 +24,7 @@ gma500_gfx-y += \ > psb_intel_sdvo.o \ > psb_lid.o \ > psb_irq.o \ > + psb_page_flip.o \ > psb_device.o \ > mid_bios.o > > diff --git a/drivers/gpu/drm/gma500/psb_page_flip.c b/drivers/gpu/drm/gma500/psb_page_flip.c > new file mode 100644 > index 000000000000..6a93727cf1c1 > --- /dev/null > +++ b/drivers/gpu/drm/gma500/psb_page_flip.c > @@ -0,0 +1,600 @@ > +/* > + * Copyright (c) 2011-2012, Intel Corporation. > + * > + * This program is free software; you can redistribute it and/or modify it > + * under the terms and conditions of the GNU General Public License, > + * version 2, as published by the Free Software Foundation. > + * > + * This program is distributed in the hope it will be useful, but WITHOUT > + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or > + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for > + * more details. > + * > + * You should have received a copy of the GNU General Public License along with > + * this program; if not, write to the Free Software Foundation, Inc.,· > + * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. For new files SPDX is preferred. > + * > + * Authors: > + * Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@xxxxxxxxx> > + * Pauli Nieminen <pauli.nieminen@xxxxxxxxx> > + * Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> > + */ > + > +#include <linux/spinlock.h> > +#include <linux/list.h> > + > +#include <drm/drmP.h> > +#include "psb_drv.h" > +#include "framebuffer.h" > +#include "psb_intel_reg.h" > +#include "psb_page_flip.h" > + > +#include "mdfld_output.h" > +#include "mdfld_dsi_output.h" Dorp drmP.h - it is deprecated and no longer used by gma500 (since a week ago or so) Sort include files within their repsective blocks. Sam _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel