From: Sam Ravnborg <sam@ravnborg.org>
To: James Hilliard <james.hilliard1@gmail.com>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [RFC PATCH 1/1] drm/gma500: add atomic support
Date: Thu, 6 Jun 2019 22:31:47 +0200 [thread overview]
Message-ID: <20190606203147.GA22096@ravnborg.org> (raw)
In-Reply-To: <20190606202032.29748-1-james.hilliard1@gmail.com>
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@gmail.com>
> ---
> 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@intel.com>
> + * Pauli Nieminen <pauli.nieminen@intel.com>
> + * Ville Syrjälä <ville.syrjala@linux.intel.com>
> + */
> +
> +#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@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2019-06-06 20:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-06 20:20 [RFC PATCH 1/1] drm/gma500: add atomic support James Hilliard
2019-06-06 20:31 ` Sam Ravnborg [this message]
2019-06-06 21:13 ` Daniel Vetter
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=20190606203147.GA22096@ravnborg.org \
--to=sam@ravnborg.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=james.hilliard1@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 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.