drm/rockchip: add version control for uboot drm driver
Add basic version for rockchip UBOOT DRM driver Change-Id: Ia1b3862bce75f68e1bf9919cad285ba141492b01 Signed-off-by: Sandy Huang <hjc@rock-chips.com>
This commit is contained in:
parent
06bb018f67
commit
e559407d6e
|
|
@ -31,6 +31,15 @@
|
|||
#include <dm/of_access.h>
|
||||
#include <dm/ofnode.h>
|
||||
|
||||
#define DRIVER_VERSION "v1.0.0"
|
||||
|
||||
/***********************************************************************
|
||||
* Rockchip UBOOT DRM driver version
|
||||
*
|
||||
* v1.0.0 : add basic version for rockchip drm driver(hjc)
|
||||
*
|
||||
**********************************************************************/
|
||||
|
||||
#define RK_BLK_SIZE 512
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
|
@ -456,6 +465,8 @@ static int display_init(struct display_state *state)
|
|||
struct drm_display_mode *mode = &conn_state->mode;
|
||||
int ret = 0;
|
||||
|
||||
printf("Rockchip UBOOT DRM driver version: %s\n", DRIVER_VERSION);
|
||||
|
||||
if (state->is_init)
|
||||
return 0;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue