• Russell King's avatar
    drm: clean up drm_mm debugfs output · 2f15791c
    Russell King authored
    The drm_mm debugfs output is difficult to read as two different formats
    are used for the addresses:
    
    0x00000080000000-0x0000008000b000: 45056: used
    0x8000b000-0x80016000: 45056: free
    0x00000080016000-0x0000008001b000: 20480: used
    0x8001b000-0x817a1000: 24666112: free
    0x000000817a1000-0x000000817a8000: 28672: used
    0x000000817a8000-0x00000081ba8000: 4194304: used
    
    Fix this by using %#018llx for all addresses, thus making the output:
    
    0x0000000080000000-0x000000008000b000: 45056: used
    0x000000008000b000-0x0000000080016000: 45056: free
    0x0000000080016000-0x000000008001b000: 20480: used
    0x000000008001b000-0x00000000817a1000: 24666112: free
    0x00000000817a1000-0x00000000817a8000: 28672: used
    0x00000000817a8000-0x0000000081ba8000: 4194304: used
    Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
    Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
    2f15791c
drm_mm.c 24.9 KB