drm/rockchip: add mm dump debugfs
shell# cat /sys/kernel/debug/dri/0/mm_dump
0x0000000000000000-0x00000000000a6000: 679936: free
0x00000000000a6000-0x0000000000970000:
9216000: used
0x0000000000970000-0x000000000123a000:
9216000: used
0x000000000123a000-0x0000000001b04000:
9216000: used
0x0000000001b04000-0x00000000023ce000:
9216000: used
0x00000000023ce000-0x0000000002c98000:
9216000: used
0x0000000002c98000-0x0000000003562000:
9216000: used
0x0000000003562000-0x0000000003e2c000:
9216000: used
0x0000000003e2c000-0x0000000100000000:
4229775360: free
total:
4294967296, used
64512000 free
4230455296
Change-Id: I39cb5b12a63418c050b3bd890829f831f898db4e
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>