drm/radeon{/kms}: Update UMS driver date and Introduce KMS_DRIVER_DATE define
Subsystems (2)
These both patches separate and consider correct driver date of radeon UserModeSetting (UMS) and KernelModeSetting (KMS) driver.
For the UMS driver date I took the CommitDate (not AuthorDate) of last commit to "drivers/gpu/drm/radeon/radeon_drv.h".
More details see the comments in my patches or [1].
- Sedat -
[1] http://lists.freedesktop.org/archives/dri-devel/2010-April/000125.html
From 2292f473c4babd9e4e1ed2fdce7df63a35009fd2 Mon Sep 17 00:00:00 2001
From: Sedat Dilek <[email protected]>
Date: Mon, 19 Apr 2010 15:50:40 +0200
Subject: [PATCH 1/2] drm/radeon/kms: Introduce KMS_DRIVER_DATE define
The version information (version, date, changelog) for UMS is maintained in radeon_drv.h while the KMS part is done in radeon_drv.c.
Unfortunately, there is one DRIVER_DATE define for both UMS and KMS driver. Introduce a KMS_DRIVER_DATE definition to reflect this situation.
Hopefully, maintainer do NOT forget to bump the KMS driver's date.
--- drivers/gpu/drm/radeon/radeon_drv.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/gpu/drm/radeon/radeon_drv.c +2 -1
@@ -48,6 +48,7 @@#define KMS_DRIVER_MAJOR 2#define KMS_DRIVER_MINOR 3#define KMS_DRIVER_PATCHLEVEL 0 +#define KMS_DRIVER_DATE "20100419"int radeon_driver_load_kms (struct drm_device *dev,unsigned long flags);int radeon_driver_unload_kms (struct drm_device *dev);int radeon_driver_firstopen_kms (struct drm_device *dev);
@@ -320,7 +321,7 @@ static struct drm_driver kms_driver = { .name = DRIVER_NAME, .desc = DRIVER_DESC, - .date = DRIVER_DATE, + .date = KMS_DRIVER_DATE, .major = KMS_DRIVER_MAJOR, .minor = KMS_DRIVER_MINOR, .patchlevel = KMS_DRIVER_PATCHLEVEL,
Signature · 1 line
1.7.0.4
From c86f5155cb89604fd07f605efea5d8a752cb2853 Mon Sep 17 00:00:00 2001
From: Sedat Dilek <[email protected]>
Date: Mon, 19 Apr 2010 16:02:25 +0200
Subject: [PATCH 2/2] drm/radeon: Update UMS driver date to "20100331"
Last change to the UMS driver was:
commit 6bb118012ab0462d5ebc3ab17eb278416532cf15 drm/radeon/kms: bump the version for r6xx/r7xx const buffer support
According to git log the CommitDate was "20100331" (AuthorDate "20100326").
Place DRIVER_DATE below Interface history and hope maintainers update it.
--- drivers/gpu/drm/radeon/radeon_drv.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/gpu/drm/radeon/radeon_drv.h +1 -1
@@ -43,7 +43,6 @@#define DRIVER_NAME "radeon"#define DRIVER_DESC "ATI Radeon" -#define DRIVER_DATE "20080528"/* Interface history: *
@@ -112,6 +111,7 @@#define DRIVER_MAJOR 1#define DRIVER_MINOR 33#define DRIVER_PATCHLEVEL 0 +#define DRIVER_DATE "20100331"enum radeon_cp_microcode_version {UCODE_R100 ,
Signature · 1 line
1.7.0.4
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel