Project

General

Profile

Submit #2985

Move drm linux_*.c files to subdirectory drm/linux

Added by davshao 5 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
03/21/2017
Due date:
% Done:

0%


Description

This patch moves the linux_*.c files under sys/dev/drm to their own
sub-directory sys/dev/drm/linux.

The idea is that eventually someone might want to import files
from FreeBSD linuxkpi. Though at some point the obvious question
is should these files and others added be turned into their own
separate module that can be used by drivers other than
the drm graphics ones, similar to what FreeBSD does with linuxkpi.

I don't really care where these files are moved: I just want them
moved somewhere to have their own separate identity.

move_drm_linux.patch View (4.68 KB) davshao, 03/21/2017 05:47 PM

History

#1 Updated by sepherosa 5 months ago

I don't think I am going to use the linux KPIs for network drivers or
IB drivers (if there were ones).

On Wed, Mar 22, 2017 at 8:47 AM,
<> wrote:
> Issue #2985 has been reported by davshao.
>
> ----------------------------------------
> Submit #2985: Move drm linux_*.c files to subdirectory drm/linux
> http://bugs.dragonflybsd.org/issues/2985
>
> * Author: davshao
> * Status: New
> * Priority: Low
> * Assignee:
> * Category:
> * Target version:
> ----------------------------------------
> This patch moves the linux_*.c files under sys/dev/drm to their own
> sub-directory sys/dev/drm/linux.
>
> The idea is that eventually someone might want to import files
> from FreeBSD linuxkpi. Though at some point the obvious question
> is should these files and others added be turned into their own
> separate module that can be used by drivers other than
> the drm graphics ones, similar to what FreeBSD does with linuxkpi.
>
> I don't really care where these files are moved: I just want them
> moved somewhere to have their own separate identity.
>
> ---Files--------------------------------
> move_drm_linux.patch (4.68 KB)
>
>
> --
> You have received this notification because you have either subscribed to it, or are involved in it.
> To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account

--
Tomorrow Will Never Die

#2 Updated by ftigeot 4 months ago

Right now the drm drivers and associated components are the sole users of our Linux implementation.
I don't think there's an urgent need to move the files elsewhere.

#3 Updated by ftigeot 4 months ago

  • Status changed from New to Closed

Also available in: Atom PDF