mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
drm/rockchip: update iommu pagefault debug log style
Change-Id: Ifda2f19f2ce2d2051996de846ffac1bc1c851fa1 Signed-off-by: Sandy Huang <hjc@rock-chips.com>
This commit is contained in:
@@ -1188,6 +1188,7 @@ static int rockchip_drm_fault_handler(struct iommu_domain *iommu,
|
||||
struct rockchip_drm_private *priv = drm_dev->dev_private;
|
||||
struct drm_crtc *crtc;
|
||||
|
||||
DRM_ERROR("iommu fault handler flags: 0x%x\n", flags);
|
||||
drm_for_each_crtc(crtc, drm_dev) {
|
||||
int pipe = drm_crtc_index(crtc);
|
||||
|
||||
|
||||
@@ -2388,10 +2388,10 @@ static void vop_crtc_regs_dump(struct drm_crtc *crtc, struct seq_file *s)
|
||||
if (!crtc_state->active)
|
||||
return;
|
||||
|
||||
for (i = 0; i < dump_len; i += 4) {
|
||||
if (i % 16 == 0)
|
||||
DEBUG_PRINT("\n0x%08x: ", i);
|
||||
DEBUG_PRINT("%08x ", vop_readl(vop, i));
|
||||
for (i = 0; i < dump_len; i += 16) {
|
||||
DEBUG_PRINT("0x%08x: %08x %08x %08x %08x\n", i,
|
||||
vop_readl(vop, i), vop_readl(vop, i + 4),
|
||||
vop_readl(vop, i + 8), vop_readl(vop, i + 12));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user