mali_760_driver, rk_ext :
authorchenzhen <chenzhen@rock-chips.com>
Wed, 17 Dec 2014 06:13:01 +0000 (14:13 +0800)
committerchenzhen <chenzhen@rock-chips.com>
Wed, 17 Dec 2014 07:19:49 +0000 (15:19 +0800)
Add log of ver_info and built_time of mali_ko.

drivers/gpu/arm/midgard/mali_kbase_core_linux.c

index 93d3c27dbcdc1c29feedd5d6582c864c428f37e0..ad44d4566ffd2ede8cec83aa9c1ac68078c5321d 100755 (executable)
@@ -98,6 +98,7 @@ EXPORT_SYMBOL(shared_kernel_test_data);
 #endif /* MALI_UNIT_TEST */
 
 #define KBASE_DRV_NAME "mali"
+/** rk_ext : version of rk_ext on mali_ko, aka. rk_ko_ver. */
 #define ROCKCHIP_VERSION 0x0b
 
 static const char kbase_drv_name[] = KBASE_DRV_NAME;
@@ -2851,6 +2852,12 @@ static int kbase_platform_device_probe(struct platform_device *pdev)
        struct kbase_platform_config *config;
        int attribute_count;
 
+       printk(KERN_INFO "arm_release_ver of this mali_ko is '%s', rk_ko_ver is '%d', built at '%s', on '%s'.",
+           MALI_RELEASE_NAME,
+           ROCKCHIP_VERSION,
+           __TIME__,
+           __DATE__);
+
        config = kbase_get_platform_config();
        attribute_count = kbasep_get_config_attribute_count(config->attributes);