All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Zimmermann <tzimmermann@suse.de>
To: Javier Martinez Canillas <javierm@redhat.com>,
	Sam Ravnborg <sam@ravnborg.org>
Cc: Kevin Brace <kevinbrace@bracecomputerlab.com>,
	dri-devel@lists.freedesktop.org, Kevin Brace <kevinbrace@gmx.com>
Subject: Re: [PATCH 00/28] OpenChrome DRM for Linux 5.20
Date: Thu, 30 Jun 2022 10:33:52 +0200	[thread overview]
Message-ID: <f64fc02f-f82f-17f8-a669-61c9d9b4e869@suse.de> (raw)
In-Reply-To: <dae59187-a055-2699-bee1-c066b69627b0@suse.de>


[-- Attachment #1.1: Type: text/plain, Size: 3542 bytes --]

Hi

Am 30.06.22 um 10:19 schrieb Thomas Zimmermann:
> Hi
> 
> Am 30.06.22 um 10:07 schrieb Javier Martinez Canillas:
>> Hello,
>>
>> On 6/28/22 14:21, Thomas Zimmermann wrote:
>>> Hi
>>>
>>> Am 27.06.22 um 23:32 schrieb Sam Ravnborg:
>>>> Hi Kevin/Thomas,
>>>>
>>>>>
>>>>> I had a brief look over the patches. Even though the code looks 
>>>>> fairly rough
>>>>> in places, I think we should get this driver merged ASAP.
>>>>
>>>> Agreed, we have a had a few cases where we dragged out committing much
>>>> too long time.
>>>>
>>>> Timing wise, it would be good if we can already hit drm-misc-next right
>>>> _after_ the pull -so we have a full cycle to fix anything before it 
>>>> hits
>>>> mainline.
>>>>
>>>>> For the old via driver, I think we need a better apprach. IMHO it 
>>>>> would be
>>>>> preferable to put the new driver into via/ but keep the old driver 
>>>>> there as
>>>>> well.  A build option would control which is being used.
>>>>
>>>> I assume the user base for via drivers are very small and they have the
>>>> fbdev driver already.
>>>> So I support replacing the current via drm driver as Kevin tries to do.
>>>
>>> I don't know if there are still users of the old userspace, but if so I
>>> would consider this removal a regression. I think the old code supports
>>> 3d and video decoding. Depending on the feature set, 3d support might
>>> not be useful any longer, but video decoding probably is.  (I might be
>>> wrong about all this.) IMHO we should not simply remove this at least
>>> until we can verify that it's no longer useful to anyone.
>>>
>>
>> I strongly agree with Thomas on this.
>>> However, legacy support is trivial. Kevin, please see the attached files
>>> for two cleanup patches. You're welcome to add them to the start of your
>>> patchset to get the legacy code out of the way.
>>>
>>
>> I'm not sure about this approach, I think that having completely 
>> separated
>> drivers would be better to maintain in the long run since it's likely 
>> that
>> the legacy VIA driver will only get bug fixes (if any) and could be 
>> removed
>> once the new modsetting driver has feature parity, the legacy can be 
>> dropped.
>> Maybe an alternative could be to add a drivers/gpu/drm/legacy 
>> directory and
>> move all the legacy DRM drivers there ? And the Kconfig symbol could 
>> be i.e:
>> CONFIG_DRM_LEGACY_VIA and same for the others legacy DRM drivers.
>>
>> And the directory could only be sourced from Kconfig when 
>> CONFIG_DRM_LEGACY
>> is enabled and make it default to n. If in a few of releases nobody 
>> complains
>> then the whole directory could be removed.

To add another comment here, if we do this then let's please not call it 
legacy.  We also have non-atomic modesetting, non-atomic color mgmt, 
non-universal planes, etc. All that is also legacy in some way.

If we're going to rename and move the old drivers, let's call it 
consistently CONFIG_DRI1 and dri1/.

Best regard
Thomas

>>
> 
> That seems a lot of work for simply removing something. And I'm sure 
> that people will only complain after legacy/via got removed.
> 
> If we want to separate code for the old and new VIA driver, let's put 
> the new code into  unichrome/ and be done with it.
> 
> Best regards
> Thomas
> 
> 

-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Ivo Totev

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

      parent reply	other threads:[~2022-06-30  8:34 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-24 20:26 [PATCH 00/28] OpenChrome DRM for Linux 5.20 Kevin Brace
2022-06-24 20:26 ` [PATCH 01/28] drm/via: Add via_3d_reg.h Kevin Brace
2022-06-24 20:26 ` [PATCH 02/28] drm/via: Add via_crtc_hw.h Kevin Brace
2022-06-24 20:26 ` [PATCH 03/28] drm/via: Add via_disp_reg.h Kevin Brace
2022-06-24 20:26 ` [PATCH 04/28] drm/via: Add via_drv.h Kevin Brace
2022-06-25  6:51   ` Sam Ravnborg
2022-06-28 14:33     ` Jani Nikula
2022-06-28 14:32   ` Jani Nikula
2022-06-24 20:26 ` [PATCH 05/28] drm/via: Add via_regs.h Kevin Brace
2022-06-24 20:26 ` [PATCH 06/28] drm/via: Add via_crtc.c Kevin Brace
2022-06-24 20:26 ` [PATCH 07/28] drm/via: Add via_crtc_hw.c Kevin Brace
2022-06-24 20:26 ` [PATCH 08/28] drm/via: Add via_cursor.c Kevin Brace
2022-06-25  6:59   ` Sam Ravnborg
2022-06-24 20:26 ` [PATCH 09/28] drm/via: Add via_dac.c Kevin Brace
2022-06-24 20:26 ` [PATCH 10/28] drm/via: Add via_display.c Kevin Brace
2022-06-24 20:26 ` [PATCH 11/28] drm/via: Add via_drv.c Kevin Brace
2022-06-25  7:15   ` Sam Ravnborg
2022-06-24 20:26 ` [PATCH 12/28] drm/via: Add via_encoder.c Kevin Brace
2022-06-24 20:26 ` [PATCH 13/28] drm/via: Add via_hdmi.c Kevin Brace
2022-06-24 20:26 ` [PATCH 14/28] drm/via: Add via_i2c.c Kevin Brace
2022-06-24 20:26 ` [PATCH 15/28] drm/via: Add via_init.c Kevin Brace
2022-06-24 20:26 ` [PATCH 16/28] drm/via: Add via_ioctl.c Kevin Brace
2022-06-24 20:26 ` [PATCH 17/28] drm/via: Add via_lvds.c Kevin Brace
2022-06-24 20:26 ` [PATCH 18/28] drm/via: Add via_object.c Kevin Brace
2022-06-24 20:26 ` [PATCH 19/28] drm/via: Add via_pll.c Kevin Brace
2022-06-24 21:15 ` [PATCH 00/28] OpenChrome DRM for Linux 5.20 Sam Ravnborg
2022-06-24 23:14   ` Kevin Brace
2022-06-27  7:37 ` Thomas Zimmermann
2022-06-27 21:32   ` Sam Ravnborg
2022-06-28 12:21     ` Thomas Zimmermann
2022-06-30  8:07       ` Javier Martinez Canillas
2022-06-30  8:19         ` Thomas Zimmermann
2022-06-30  8:27           ` Javier Martinez Canillas
2022-06-30  8:33           ` Thomas Zimmermann [this message]

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=f64fc02f-f82f-17f8-a669-61c9d9b4e869@suse.de \
    --to=tzimmermann@suse.de \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=javierm@redhat.com \
    --cc=kevinbrace@bracecomputerlab.com \
    --cc=kevinbrace@gmx.com \
    --cc=sam@ravnborg.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.