public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [Dri-devel] DRM patch for Linux 2.4.0-prerelease
       [not found] <14932.51363.118932.987520@light.alephnull.com>
@ 2001-01-04 21:27 ` Keith Whitwell
  2001-01-04 21:53   ` Rik Faith
  0 siblings, 1 reply; 2+ messages in thread
From: Keith Whitwell @ 2001-01-04 21:27 UTC (permalink / raw)
  To: Rik Faith; +Cc: DRI Development, Kernel Mailing List

Rik,

It looks like this patch goes further than syncing with xfree 4.0.2, but syncs
with the dri trunk instead.  There has been a version bump in the mga drm
module on the dri trunk to add a 'blit' ioctl.  XFree 4.0.2 will barf on this.

As a broader question:  All our version checking (in client drivers and DDX
drivers) check

	found major == expected major
	found minor == expected minor 
	found patch >= expected patch

and if they don't receive this, they refuse to play.

As I understood it, the major number is bumped on backwards-incompatible
changes, the minor number on backwards-compatible changes and the patch on all
other changes, though in practise never.

Thus, wouldn't the appropriate test be:

	found major == expected major
	found minor >= expected minor
	(no test on patch)

This seems to match the semantics of the 3 numbers better?

Keith
-
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/

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

* Re: [Dri-devel] DRM patch for Linux 2.4.0-prerelease
  2001-01-04 21:27 ` [Dri-devel] DRM patch for Linux 2.4.0-prerelease Keith Whitwell
@ 2001-01-04 21:53   ` Rik Faith
  0 siblings, 0 replies; 2+ messages in thread
From: Rik Faith @ 2001-01-04 21:53 UTC (permalink / raw)
  To: Keith Whitwell; +Cc: DRI Development, Kernel Mailing List

On Thu  4 Jan 2001 14:27:22 -0700,
   Keith Whitwell <keithw@valinux.com> wrote:
> It looks like this patch goes further than syncing with xfree 4.0.2,
> but syncs with the dri trunk instead.  There has been a version bump
> in the mga drm module on the dri trunk to add a 'blit' ioctl.  XFree
> 4.0.2 will barf on this.

You are correct.

For anyone using XFree86 4.0.2 or tracking what we'd like to be included
in Linux 2.4.0, please ignore all the drivers/char/drm/mga* diffs in the
last patch that I sent.  Ignoring those diffs will provide compatibility
with XFree86 4.0.2 for the MGA driver.

Sorry for the confusion.
-
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/

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

end of thread, other threads:[~2001-01-04 21:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <14932.51363.118932.987520@light.alephnull.com>
2001-01-04 21:27 ` [Dri-devel] DRM patch for Linux 2.4.0-prerelease Keith Whitwell
2001-01-04 21:53   ` Rik Faith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox