diff options
author | Edmund Dea <edmund.j.dea@intel.com> | 2020-08-26 22:17:29 +0200 |
---|---|---|
committer | Anitha Chrisanthus <anitha.chrisanthus@intel.com> | 2021-07-29 20:28:48 +0200 |
commit | eb92830cdbc232a0e8166c48061ca276132646a7 (patch) | |
tree | 2b56556299b5d7146a44c4aaa1710fbc6cbea4b8 | |
parent | drm/kmb: Enable LCD DMA for low TVDDCV (diff) | |
download | linux-eb92830cdbc232a0e8166c48061ca276132646a7.tar.xz linux-eb92830cdbc232a0e8166c48061ca276132646a7.zip |
drm/kmb: Define driver date and major/minor version
Added macros for date and version
Fixes: 7f7b96a8a0a1 ("drm/kmb: Add support for KeemBay Display")
Signed-off-by: Edmund Dea <edmund.j.dea@intel.com>
Signed-off-by: Anitha Chrisanthus <anitha.chrisanthus@intel.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210728003126.1425028-2-anitha.chrisanthus@intel.com
-rw-r--r-- | drivers/gpu/drm/kmb/kmb_drv.c | 8 | ||||
-rw-r--r-- | drivers/gpu/drm/kmb/kmb_drv.h | 5 |
2 files changed, 9 insertions, 4 deletions
diff --git a/drivers/gpu/drm/kmb/kmb_drv.c b/drivers/gpu/drm/kmb/kmb_drv.c index c0b1c6f99249..f54392ec4fab 100644 --- a/drivers/gpu/drm/kmb/kmb_drv.c +++ b/drivers/gpu/drm/kmb/kmb_drv.c @@ -425,10 +425,10 @@ static const struct drm_driver kmb_driver = { .fops = &fops, DRM_GEM_CMA_DRIVER_OPS_VMAP, .name = "kmb-drm", - .desc = "KEEMBAY DISPLAY DRIVER ", - .date = "20201008", - .major = 1, - .minor = 0, + .desc = "KEEMBAY DISPLAY DRIVER", + .date = DRIVER_DATE, + .major = DRIVER_MAJOR, + .minor = DRIVER_MINOR, }; static int kmb_remove(struct platform_device *pdev) diff --git a/drivers/gpu/drm/kmb/kmb_drv.h b/drivers/gpu/drm/kmb/kmb_drv.h index 02e806712a64..ebbaa5f422d5 100644 --- a/drivers/gpu/drm/kmb/kmb_drv.h +++ b/drivers/gpu/drm/kmb/kmb_drv.h @@ -15,6 +15,11 @@ #define KMB_MAX_HEIGHT 1080 /*Max height in pixels */ #define KMB_MIN_WIDTH 1920 /*Max width in pixels */ #define KMB_MIN_HEIGHT 1080 /*Max height in pixels */ + +#define DRIVER_DATE "20210223" +#define DRIVER_MAJOR 1 +#define DRIVER_MINOR 1 + #define KMB_LCD_DEFAULT_CLK 200000000 #define KMB_SYS_CLK_MHZ 500 |