Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Edmund Dea and committed by
Anitha Chrisanthus
eb92830c 0aab5dce

+9 -4
+4 -4
drivers/gpu/drm/kmb/kmb_drv.c
··· 425 425 .fops = &fops, 426 426 DRM_GEM_CMA_DRIVER_OPS_VMAP, 427 427 .name = "kmb-drm", 428 - .desc = "KEEMBAY DISPLAY DRIVER ", 429 - .date = "20201008", 430 - .major = 1, 431 - .minor = 0, 428 + .desc = "KEEMBAY DISPLAY DRIVER", 429 + .date = DRIVER_DATE, 430 + .major = DRIVER_MAJOR, 431 + .minor = DRIVER_MINOR, 432 432 }; 433 433 434 434 static int kmb_remove(struct platform_device *pdev)
+5
drivers/gpu/drm/kmb/kmb_drv.h
··· 15 15 #define KMB_MAX_HEIGHT 1080 /*Max height in pixels */ 16 16 #define KMB_MIN_WIDTH 1920 /*Max width in pixels */ 17 17 #define KMB_MIN_HEIGHT 1080 /*Max height in pixels */ 18 + 19 + #define DRIVER_DATE "20210223" 20 + #define DRIVER_MAJOR 1 21 + #define DRIVER_MINOR 1 22 + 18 23 #define KMB_LCD_DEFAULT_CLK 200000000 19 24 #define KMB_SYS_CLK_MHZ 500 20 25