diff options
| author | Dhaval Patel <pdhaval@quicinc.com> | 2016-10-10 10:20:02 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-10-10 10:20:02 -0700 |
| commit | de1c38caa7d9bc36687741d8d61bec528bbb2712 (patch) | |
| tree | 29e7043b6a08e9ff91178143f31c27c11ed390f8 /drivers/gpu | |
| parent | 58420141bd4bacadc838fbe82450549f1bd9d4ff (diff) | |
| parent | 2ec153e47e2aaa9f3bf8f658dce60cc5160f2177 (diff) | |
Merge "drm/msm/sde: update register writes to use SDE logging macros" into dev/msm-4.4-drm_kms
Diffstat (limited to 'drivers/gpu')
| -rw-r--r-- | drivers/gpu/drm/msm/sde/sde_hw_util.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/sde/sde_hw_util.c b/drivers/gpu/drm/msm/sde/sde_hw_util.c index 51d8c2e50529..6f52f31a7569 100644 --- a/drivers/gpu/drm/msm/sde/sde_hw_util.c +++ b/drivers/gpu/drm/msm/sde/sde_hw_util.c @@ -9,7 +9,9 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ +#define pr_fmt(fmt) "[drm:%s:%d] " fmt, __func__, __LINE__ #include "msm_drv.h" +#include "sde_kms.h" #include "sde_hw_mdss.h" #include "sde_hw_util.h" @@ -23,7 +25,8 @@ void sde_reg_write(struct sde_hw_blk_reg_map *c, { /* don't need to mutex protect this */ if (c->log_mask & sde_hw_util_log_mask) - DBG("[%s:0x%X] <= 0x%X", name, c->blk_off + reg_off, val); + SDE_DEBUG_DRIVER("[%s:0x%X] <= 0x%X\n", + name, c->blk_off + reg_off, val); writel_relaxed(val, c->base_off + c->blk_off + reg_off); } |
