Commit eb92830c authored by Edmund Dea's avatar Edmund Dea Committed by Anitha Chrisanthus

drm/kmb: Define driver date and major/minor version

Added macros for date and version

Fixes: 7f7b96a8 ("drm/kmb: Add support for KeemBay Display")
Signed-off-by: default avatarEdmund Dea <edmund.j.dea@intel.com>
Signed-off-by: default avatarAnitha Chrisanthus <anitha.chrisanthus@intel.com>
Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210728003126.1425028-2-anitha.chrisanthus@intel.com
parent 0aab5dce
...@@ -425,10 +425,10 @@ static const struct drm_driver kmb_driver = { ...@@ -425,10 +425,10 @@ static const struct drm_driver kmb_driver = {
.fops = &fops, .fops = &fops,
DRM_GEM_CMA_DRIVER_OPS_VMAP, DRM_GEM_CMA_DRIVER_OPS_VMAP,
.name = "kmb-drm", .name = "kmb-drm",
.desc = "KEEMBAY DISPLAY DRIVER ", .desc = "KEEMBAY DISPLAY DRIVER",
.date = "20201008", .date = DRIVER_DATE,
.major = 1, .major = DRIVER_MAJOR,
.minor = 0, .minor = DRIVER_MINOR,
}; };
static int kmb_remove(struct platform_device *pdev) static int kmb_remove(struct platform_device *pdev)
......
...@@ -15,6 +15,11 @@ ...@@ -15,6 +15,11 @@
#define KMB_MAX_HEIGHT 1080 /*Max height in pixels */ #define KMB_MAX_HEIGHT 1080 /*Max height in pixels */
#define KMB_MIN_WIDTH 1920 /*Max width in pixels */ #define KMB_MIN_WIDTH 1920 /*Max width in pixels */
#define KMB_MIN_HEIGHT 1080 /*Max height 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_LCD_DEFAULT_CLK 200000000
#define KMB_SYS_CLK_MHZ 500 #define KMB_SYS_CLK_MHZ 500
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment