lkml.org 
[lkml]   [2001]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.4.0 bug: file /proc/dri 4 times in ls listing
Hi Bobo,

To fix this just link in only the support that corresponds to your
hardware. The design of dri is such that (one could paraphrase) each
driver-specific part includes its own copy of what should be
"driver-independent shared dri_core engine" (e.g. proc handling stuff).

Fixing this requires either a new filesystem type (drifs) or
(simpler!) redesigning dri to separate common things into a separate
dri_core thing shared amongst them.

Regards,
Tigran

On Tue, 16 Jan 2001, Bobo Rajec wrote:

>
> Hi,
>
> I'm running kernel 2.4.0 on Redhat 7.0. I tried to get direct
> rendering running (it failed, but that's another story). Today I
> noticed something strange in /proc: dri appears there 4 times.
>
> ls /proc:
> ...
> -r--r--r-- 1 root root 0 Jan 16 08:57 dma
> dr-xr-xr-x 3 root root 0 Jan 16 08:57 dri
> dr-xr-xr-x 3 root root 0 Jan 16 08:57 dri
> dr-xr-xr-x 3 root root 0 Jan 16 08:57 dri
> dr-xr-xr-x 3 root root 0 Jan 16 08:57 dri
> dr-xr-xr-x 2 root root 0 Jan 16 08:57 driver
> ...
>
> Chdir /proc/dri/0 works fine:
>
> bobo:/proc/dri/0>ls
> bufs clients histo mem name queues vm vma
>
> No dri modules, everything is linked in (I know I don't need all of
> these, but I have lots of memory, so...).
>
> ...
> CONFIG_AGP=y
> CONFIG_AGP_INTEL=y
> CONFIG_AGP_I810=y
> CONFIG_AGP_VIA=y
> CONFIG_AGP_AMD=y
> CONFIG_AGP_SIS=y
> CONFIG_AGP_ALI=y
> CONFIG_DRM=y
> CONFIG_DRM_TDFX=y
> CONFIG_DRM_GAMMA=y
> CONFIG_DRM_R128=y
> CONFIG_DRM_I810=y
> CONFIG_DRM_MGA=y
> ...
>
> Regards,
> bobo
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> Please read the FAQ at http://www.tux.org/lkml/
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:17    [W:0.042 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site