All of lore.kernel.org
 help / color / mirror / Atom feed
* xf86-video-nouveau compile error and fix
@ 2010-01-14  5:27 Martin Wolters
       [not found] ` <4B4EAB40.3050700-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Wolters @ 2010-01-14  5:27 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

Hello,

I found xf86-video-nouveau unable to compile on my system. Failing
with two errors in nv_accel_common.c about NV50_2D_CLIP_ENABLE and
NV50_2D_COLOR_KEY_ENABLE not being defined.

Comparing the source to xf86-video-nv, i found the missing constants
to be 0x290 for CLIP_ENABLE and 0x29c for COLOR_KEY_ENABLE. This got
nv_accel_common.c to compile.

I'd request these two constants to be defined to the said values
and this being committed to the git repository.

Regards,
Martin Wolters

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: xf86-video-nouveau compile error and fix
       [not found] ` <4B4EAB40.3050700-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2010-01-14  5:51   ` Marcin Kościelnicki
  0 siblings, 0 replies; 2+ messages in thread
From: Marcin Kościelnicki @ 2010-01-14  5:51 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

> I found xf86-video-nouveau unable to compile on my system. Failing
> with two errors in nv_accel_common.c about NV50_2D_CLIP_ENABLE and
> NV50_2D_COLOR_KEY_ENABLE not being defined.
>
> Comparing the source to xf86-video-nv, i found the missing constants
> to be 0x290 for CLIP_ENABLE and 0x29c for COLOR_KEY_ENABLE. This got
> nv_accel_common.c to compile.
>
> I'd request these two constants to be defined to the said values
> and this being committed to the git repository.

These constants come from nouveau_class.h, which is part of libdrm. Please 
update your libdrm package to the latest git.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-14  5:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-14  5:27 xf86-video-nouveau compile error and fix Martin Wolters
     [not found] ` <4B4EAB40.3050700-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-01-14  5:51   ` Marcin Kościelnicki

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.