All of lore.kernel.org
 help / color / mirror / Atom feed
From: Emil Velikov <emil.l.velikov@gmail.com>
To: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Cc: "Teddy Wang" <teddy.wang@siliconmotion.com>,
	"David Airlie" <airlied@linux.ie>,
	"Greg KH" <gregkh@linuxfoundation.org>,
	"amd-gfx mailing list" <amd-gfx@lists.freedesktop.org>,
	"Michał Mirosław" <mirq-linux@rere.qmqm.pl>,
	"ML dri-devel" <dri-devel@lists.freedesktop.org>,
	"Daniel Vetter" <daniel@ffwll.ch>,
	"Alex Deucher" <alexander.deucher@amd.com>,
	"open list:VIRTIO GPU DRIVER"
	<virtualization@lists.linux-foundation.org>,
	"Christian König" <christian.koenig@amd.com>
Subject: Re: [PATCH 02/13] fbdev: add remove_conflicting_pci_framebuffers()
Date: Fri, 1 Dec 2017 14:40:11 +0000	[thread overview]
Message-ID: <CACvgo52NmpWv4DdwMuu3b9fZx++Wd2zvCvtvN75LxPqmycpCtQ__2458.76853955469$1512139245$gmane$org@mail.gmail.com> (raw)
In-Reply-To: <20171130234953.GA5542@sudip-laptop>

On 30 November 2017 at 23:49, Sudip Mukherjee
<sudipm.mukherjee@gmail.com> wrote:
> Hi Daniel,
>
> On Wed, Nov 29, 2017 at 10:56:34AM +0100, Daniel Vetter wrote:
>> On Tue, Nov 28, 2017 at 12:30:30PM +0000, Sudip Mukherjee wrote:
>> > On Tue, Nov 28, 2017 at 12:32:38PM +0100, Greg KH wrote:
>> > > On Tue, Nov 28, 2017 at 11:22:17AM +0100, Daniel Vetter wrote:
>> > > > On Mon, Nov 27, 2017 at 08:52:19PM +0000, Sudip Mukherjee wrote:
>> > > > > On Mon, Nov 27, 2017 at 11:27:59AM +0100, Daniel Vetter wrote:
>> > > > > > On Fri, Nov 24, 2017 at 06:53:31PM +0100, Michał Mirosław wrote:
>> > > > > > > Almost all drivers using remove_conflicting_framebuffers() wrap it with
>> > > > > > > the same code. Extract common part from PCI drivers into separate
>> > > > > > > remove_conflicting_pci_framebuffers().
>> > > > > > >
>
> <snip>
>
>> > > >
>> > > > Greg?
>> > >
>> > > Yes, if no one is working to get it out of staging, that means no one
>> > > cares about it, and it needs to be removed from the tree.
>> >
>> > Agreed. I was not working on getting it out of staging as there is no
>> > place for it to go.
>> > But, Teddy Wang told me that they have a working drm driver for it, but
>> > it is not atomic like Daniel was asking for. If it is ok, then I can send
>> > in a patch to remove the existing sm750 from staging and add the new sm750
>> > drm driver to staging. And after it is ready, we can go ahead with moving
>> > it out of staging to drm.
>>
>> Please keep the todo item that it needs to be converted to atomic. And
>> tbh, it's probably faster if you just submit it to dri-devel, assuming you
>> have time to work on it. For small drivers we tend to be fairly quick in
>> getting them into good enough shape.
>
> I have received the driver from Teddy and pushed it to
> https://github.com/sudipm-mukherjee/parport/tree/drm_smi for your first
> look into it. It is not even building with next-20171130 and has lots of
> build warnings. I will have to do a lot of work on it before I can even
> submit it to dri-devel.
>
A crazy idea, mostly towards Tedd and Sudip:

Start small and build gradually. An example split for separate patch series:

 - one HW, basic setup + atomic KMS
 - add second HW
 - more KMS features
 - fancy memory management
 - 2D/3D/other acceleration

The driver as seen above tries to do all of the above (almost, it's not atomic)
at once - 40k loc.

Someone familiar with the code can quickly split it up and while doing
so, feed it through checkpatch.
Current code is _very_ far from kernel coding style, plus the
copyright blurp is very disturbing:

* All rights are reserved. Reproduction or in part is prohibited
* without the written consent of the copyright owner.

HTH
Emil
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

  parent reply	other threads:[~2017-12-01 14:40 UTC|newest]

Thread overview: 191+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-24 17:53 [PATCH 00/13] remove_conflicting_framebuffers() cleanup Michał Mirosław
2017-11-24 17:53 ` [PATCH 01/13] fbdev: show fbdev number for debugging Michał Mirosław
2017-11-24 17:53 ` [PATCH 02/13] fbdev: add remove_conflicting_pci_framebuffers() Michał Mirosław
     [not found]   ` <1738dbed0239bffc886f126fd3091daa39cd14c9.1511544782.git.mirq-linux-CoA6ZxLDdyEEUmgCuDUIdw@public.gmane.org>
2017-11-27 10:27     ` Daniel Vetter
2017-11-27 20:52       ` Sudip Mukherjee
2017-11-27 20:52       ` Sudip Mukherjee
2017-11-28 10:22         ` Daniel Vetter
2017-11-28 11:32           ` Greg KH
2017-11-28 12:30             ` Sudip Mukherjee
2017-11-28 13:06               ` Greg KH
2017-11-29  9:56               ` Daniel Vetter
2017-11-30 23:49                 ` Sudip Mukherjee
2017-11-30 23:49                 ` Sudip Mukherjee
2017-12-01  7:19                   ` Daniel Vetter
2017-12-01 14:10                     ` Sudip Mukherjee
2017-12-01  7:19                   ` Daniel Vetter
2017-12-01 14:40                   ` Emil Velikov [this message]
2017-12-01 14:40                   ` Emil Velikov
2017-12-11 21:57                     ` Sudip Mukherjee
2017-12-11 21:57                     ` Sudip Mukherjee
2017-11-29  9:56               ` Daniel Vetter
2017-11-28 12:30             ` Sudip Mukherjee
2017-11-28 11:32           ` Greg KH
2017-11-28 10:22         ` Daniel Vetter
2017-11-27 10:27   ` Daniel Vetter
2017-11-24 17:53 ` [PATCH 06/13] drm/mgag200: use simpler remove_conflicting_pci_framebuffers() Michał Mirosław
2017-11-24 17:53 ` [PATCH 05/13] drm/cirrus: " Michał Mirosław
2017-11-24 17:53 ` [PATCH 04/13] drm/bochs: " Michał Mirosław
2017-11-24 17:53 ` [PATCH 09/13] staging: sm750fb: " Michał Mirosław
2017-11-27 10:25   ` Daniel Vetter
2017-11-27 20:57     ` Sudip Mukherjee
2017-11-24 17:53 ` [PATCH 08/13] drm/virtio: " Michał Mirosław
2017-11-24 17:53 ` [PATCH 11/13] drm/vc4: use simpler remove_conflicting_framebuffers(NULL) Michał Mirosław
2017-11-28 20:11   ` Eric Anholt
     [not found] ` <cover.1511544782.git.mirq-linux-CoA6ZxLDdyEEUmgCuDUIdw@public.gmane.org>
2017-11-24 17:53   ` [PATCH 03/13] drm/amdgpu: use simpler remove_conflicting_pci_framebuffers() Michał Mirosław
2017-11-27 15:27     ` Alex Deucher
2017-11-24 17:53   ` [PATCH 07/13] drm/radeon: " Michał Mirosław
2017-11-24 17:53   ` [PATCH 10/13] fbdev: allow apertures == NULL in remove_conflicting_framebuffers() Michał Mirosław
     [not found]     ` <13240c59cafec988cdda37cc4d48252ff56f0d04.1511544782.git.mirq-linux-CoA6ZxLDdyEEUmgCuDUIdw@public.gmane.org>
2017-11-27 10:29       ` Daniel Vetter
2017-11-24 17:53   ` [PATCH 13/13] drm/tegra: kick out simplefb Michał Mirosław
     [not found]     ` <89e22ee1c026b40a5bfa91de282d658b56dc8ee8.1511544782.git.mirq-linux-CoA6ZxLDdyEEUmgCuDUIdw@public.gmane.org>
2017-11-24 20:50       ` Thierry Reding
2017-11-24 21:42         ` Michał Mirosław
2017-11-24 17:53 ` [PATCH 12/13] drm/sun4i: use simpler remove_conflicting_framebuffers(NULL) Michał Mirosław
2017-11-27  7:26   ` Maxime Ripard
2017-11-27 10:30 ` [PATCH 00/13] remove_conflicting_framebuffers() cleanup Daniel Vetter
2017-11-27 10:30 ` Daniel Vetter
2017-11-27 10:33   ` Thierry Reding
2018-01-03 15:04   ` Bartlomiej Zolnierkiewicz
     [not found]   ` <20171127103044.faakzch7ehlkc3or-dv86pmgwkMBes7Z6vYuT8azUEOm+Xw19@public.gmane.org>
2017-11-27 10:33     ` Thierry Reding
2018-01-03 15:04     ` Bartlomiej Zolnierkiewicz
2018-08-30 21:00 ` [PATCH v2 00/12] " Michał Mirosław
2018-08-30 21:00   ` Michał Mirosław
2018-08-30 21:00   ` Michał Mirosław
2018-08-30 21:00   ` [PATCH v2 02/12] fbdev: allow apertures == NULL in remove_conflicting_framebuffers() Michał Mirosław
2018-08-30 21:00   ` [PATCH v2 01/12] fbdev: show fbdev number for debugging Michał Mirosław
2018-08-30 21:00     ` Michał Mirosław
2018-08-30 21:00     ` Michał Mirosław
2018-08-30 21:00   ` [PATCH v2 02/12] fbdev: allow apertures == NULL in remove_conflicting_framebuffers() Michał Mirosław
2018-08-30 21:00     ` Michał Mirosław
2018-08-30 21:00     ` Michał Mirosław
2018-08-31  8:56     ` Daniel Vetter
2018-08-31  8:56       ` Daniel Vetter
2018-08-31  8:56       ` Daniel Vetter
     [not found]       ` <20180831085656.GR21634-dv86pmgwkMBes7Z6vYuT8azUEOm+Xw19@public.gmane.org>
2018-08-31  9:01         ` Daniel Vetter
2018-08-31  9:01           ` Daniel Vetter
2018-08-31  9:01           ` Daniel Vetter
2018-08-31  9:01       ` Daniel Vetter
2018-08-30 21:00   ` [PATCH v2 01/12] fbdev: show fbdev number for debugging Michał Mirosław
2018-08-30 21:00   ` [PATCH v2 03/12] fbdev: add remove_conflicting_pci_framebuffers() Michał Mirosław
2018-08-30 21:00     ` Michał Mirosław
2018-08-30 21:00     ` Michał Mirosław
2018-08-30 21:00   ` [PATCH v2 04/12] drm/amdgpu: use simpler remove_conflicting_pci_framebuffers() Michał Mirosław
2018-08-30 21:00     ` Michał Mirosław
2018-08-30 21:00     ` Michał Mirosław
2018-08-30 21:00   ` [PATCH v2 03/12] fbdev: add remove_conflicting_pci_framebuffers() Michał Mirosław
2018-08-30 21:00   ` [PATCH v2 04/12] drm/amdgpu: use simpler remove_conflicting_pci_framebuffers() Michał Mirosław
2018-08-30 21:00   ` [PATCH v2 06/12] drm/cirrus: " Michał Mirosław
2018-08-30 21:00   ` [PATCH v2 05/12] drm/bochs: " Michał Mirosław
2018-08-30 21:00     ` Michał Mirosław
2018-08-30 21:00     ` Michał Mirosław
2018-08-30 21:00   ` [PATCH v2 06/12] drm/cirrus: " Michał Mirosław
2018-08-30 21:00     ` Michał Mirosław
2018-08-30 21:00     ` Michał Mirosław
2018-08-30 21:00   ` [PATCH v2 05/12] drm/bochs: " Michał Mirosław
2018-08-30 21:00   ` [PATCH v2 08/12] drm/radeon: " Michał Mirosław
2018-08-30 21:00     ` Michał Mirosław
2018-08-30 21:00     ` Michał Mirosław
2018-08-30 21:00   ` [PATCH v2 07/12] drm/mgag200: " Michał Mirosław
2018-08-30 21:00   ` Michał Mirosław
2018-08-30 21:00     ` Michał Mirosław
2018-08-30 21:00     ` Michał Mirosław
2018-08-30 21:00   ` [PATCH v2 09/12] drm/virtio: " Michał Mirosław
2018-08-30 21:00     ` Michał Mirosław
2018-08-30 21:00     ` Michał Mirosław
2018-08-30 21:00   ` [PATCH v2 10/12] drm/vc4: use simpler remove_conflicting_framebuffers(NULL) Michał Mirosław
2018-08-30 21:00   ` Michał Mirosław
2018-08-30 21:00     ` Michał Mirosław
2018-08-30 21:00     ` Michał Mirosław
2018-08-30 21:00   ` [PATCH v2 11/12] drm/sun4i: " Michał Mirosław
2018-08-30 21:00     ` Michał Mirosław
2018-08-30 21:00     ` Michał Mirosław
2018-08-30 21:00   ` Michał Mirosław
2018-08-30 21:00   ` [PATCH v2 12/12] drm/tegra: kick out simplefb Michał Mirosław
2018-08-30 21:00     ` Michał Mirosław
2018-08-30 21:00     ` Michał Mirosław
2018-08-30 21:00   ` Michał Mirosław
2018-08-31  9:04   ` [PATCH v2 00/12] remove_conflicting_framebuffers() cleanup Daniel Vetter
2018-08-31  9:04     ` Daniel Vetter
2018-08-31  9:04     ` Daniel Vetter
2018-08-31  9:07     ` Chris Wilson
     [not found]     ` <20180831090439.GT21634-dv86pmgwkMBes7Z6vYuT8azUEOm+Xw19@public.gmane.org>
2018-08-31  9:07       ` Chris Wilson
2018-08-31  9:07         ` Chris Wilson
2018-08-31  9:07         ` Chris Wilson
2018-09-01 13:45         ` Michał Mirosław
2018-09-01 13:45           ` Michał Mirosław
2018-09-01 13:45           ` Michał Mirosław
2018-09-01 14:08   ` [PATCH v3 00/13] " Michał Mirosław
2018-09-01 14:08     ` Michał Mirosław
2018-09-01 14:08     ` Michał Mirosław
2018-09-01 14:08     ` [PATCH v3 02/13] fbdev: allow apertures == NULL in remove_conflicting_framebuffers() Michał Mirosław
2018-09-01 14:08       ` Michał Mirosław
2018-09-01 14:08       ` Michał Mirosław
2018-09-01 14:08     ` [PATCH v3 01/13] fbdev: show fbdev number for debugging Michał Mirosław
2018-09-01 14:08       ` Michał Mirosław
2018-09-01 14:08       ` Michał Mirosław
2018-09-01 14:08     ` Michał Mirosław
2018-09-01 14:08     ` [PATCH v3 04/13] fbdev: add remove_conflicting_pci_framebuffers() Michał Mirosław
2018-09-01 14:08       ` Michał Mirosław
2018-09-01 14:08       ` Michał Mirosław
2018-09-03 16:16       ` Daniel Vetter
2018-09-03 16:16         ` Daniel Vetter
2018-09-03 16:16         ` Daniel Vetter
2018-09-04 15:40       ` kbuild test robot
2018-09-04 15:40       ` kbuild test robot
2018-09-04 15:40         ` kbuild test robot
2018-09-04 15:40         ` kbuild test robot
2018-09-01 14:08     ` Michał Mirosław
2018-09-01 14:08     ` [PATCH v3 03/13] fbdev: add kerneldoc do remove_conflicting_framebuffers() Michał Mirosław
2018-09-01 14:08       ` Michał Mirosław
2018-09-01 14:08       ` Michał Mirosław
     [not found]       ` <283fef19815b991700b56119d8d5874a2a8da44e.1535810304.git.mirq-linux-CoA6ZxLDdyEEUmgCuDUIdw@public.gmane.org>
2018-09-05 11:02         ` Paul Menzel
2018-09-05 11:02           ` Paul Menzel
2018-09-05 11:02           ` Paul Menzel
2018-09-01 14:08     ` Michał Mirosław
2018-09-01 14:08     ` [PATCH v3 05/13] drm/amdgpu: use simpler remove_conflicting_pci_framebuffers() Michał Mirosław
2018-09-01 14:08     ` Michał Mirosław
2018-09-01 14:08       ` Michał Mirosław
2018-09-01 14:08       ` Michał Mirosław
2018-09-01 14:08     ` [PATCH v3 06/13] drm/bochs: " Michał Mirosław
2018-09-01 14:08       ` Michał Mirosław
2018-09-01 14:08       ` Michał Mirosław
2018-09-01 14:08     ` [PATCH v3 07/13] drm/cirrus: " Michał Mirosław
2018-09-01 14:08       ` Michał Mirosław
2018-09-01 14:08       ` Michał Mirosław
2018-09-01 14:08     ` [PATCH v3 08/13] drm/mgag200: " Michał Mirosław
2018-09-01 14:08       ` Michał Mirosław
2018-09-01 14:08       ` Michał Mirosław
2018-09-01 14:08     ` [PATCH v3 09/13] drm/radeon: " Michał Mirosław
2018-09-01 14:08       ` Michał Mirosław
2018-09-01 14:08       ` Michał Mirosław
2018-09-01 14:08     ` Michał Mirosław
2018-09-01 14:08     ` [PATCH v3 08/13] drm/mgag200: " Michał Mirosław
2018-09-01 14:08     ` [PATCH v3 10/13] drm/virtio: " Michał Mirosław
2018-09-01 14:08     ` Michał Mirosław
2018-09-01 14:08       ` Michał Mirosław
2018-09-01 14:08       ` Michał Mirosław
2018-09-01 14:08     ` [PATCH v3 11/13] drm/vc4: use simpler remove_conflicting_framebuffers(NULL) Michał Mirosław
2018-09-01 14:08     ` Michał Mirosław
2018-09-01 14:08       ` Michał Mirosław
2018-09-01 14:08       ` Michał Mirosław
2018-09-01 14:08     ` [PATCH v3 13/13] drm/tegra: kick out simplefb Michał Mirosław
2018-09-01 14:08       ` Michał Mirosław
2018-09-01 14:08       ` Michał Mirosław
2018-09-01 14:08     ` [PATCH v3 12/13] drm/sun4i: use simpler remove_conflicting_framebuffers(NULL) Michał Mirosław
2018-09-01 14:08       ` Michał Mirosław
2018-09-01 14:08       ` Michał Mirosław
2018-09-01 14:08     ` [PATCH v3 13/13] drm/tegra: kick out simplefb Michał Mirosław
2018-09-01 14:08     ` [PATCH v3 12/13] drm/sun4i: use simpler remove_conflicting_framebuffers(NULL) Michał Mirosław
     [not found]     ` <cover.1535810304.git.mirq-linux-CoA6ZxLDdyEEUmgCuDUIdw@public.gmane.org>
2018-09-03  7:43       ` [PATCH v3 00/13] remove_conflicting_framebuffers() cleanup Daniel Vetter
2018-09-03  7:43         ` Daniel Vetter
2018-09-03  7:43         ` Daniel Vetter
2018-09-03 11:31         ` Bartlomiej Zolnierkiewicz
     [not found]         ` <20180903074315.GB21634-dv86pmgwkMBes7Z6vYuT8azUEOm+Xw19@public.gmane.org>
2018-09-03 11:31           ` Bartlomiej Zolnierkiewicz
2018-09-03 11:31             ` Bartlomiej Zolnierkiewicz
2018-09-03 11:31             ` Bartlomiej Zolnierkiewicz
2018-09-03 16:26             ` Daniel Vetter
2018-09-03 16:26               ` Daniel Vetter
2018-09-03 16:26               ` Daniel Vetter
2018-09-03 16:26             ` Daniel Vetter
2018-09-03  7:43     ` Daniel Vetter
2018-08-30 21:00 ` [PATCH v2 00/12] " Michał Mirosław

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='CACvgo52NmpWv4DdwMuu3b9fZx++Wd2zvCvtvN75LxPqmycpCtQ__2458.76853955469$1512139245$gmane$org@mail.gmail.com' \
    --to=emil.l.velikov@gmail.com \
    --cc=airlied@linux.ie \
    --cc=alexander.deucher@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=christian.koenig@amd.com \
    --cc=daniel@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=mirq-linux@rere.qmqm.pl \
    --cc=sudipm.mukherjee@gmail.com \
    --cc=teddy.wang@siliconmotion.com \
    --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.