drm/msm/mdp5: always print mdp5 version
authorRob Clark <robdclark@gmail.com>
Mon, 16 Oct 2017 16:52:48 +0000 (12:52 -0400)
committerRob Clark <robdclark@gmail.com>
Sat, 28 Oct 2017 15:01:32 +0000 (11:01 -0400)
This is useful to see in the log, without requiring drm.debug.

Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c

index 7e829a8..494b293 100644 (file)
@@ -501,7 +501,7 @@ static void read_mdp_hw_revision(struct mdp5_kms *mdp5_kms,
        *major = FIELD(version, MDP5_HW_VERSION_MAJOR);
        *minor = FIELD(version, MDP5_HW_VERSION_MINOR);
 
-       DBG("MDP5 version v%d.%d", *major, *minor);
+       dev_info(dev, "MDP5 version v%d.%d", *major, *minor);
 }
 
 static int get_clk(struct platform_device *pdev, struct clk **clkp,