summaryrefslogtreecommitdiffstats
path: root/arch/parisc/include/asm/spinlock.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-03-21 12:05:47 +0000
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-28 18:33:15 +0100
commite3243d16726798c451f1d0c356a177117fa75c2e (patch)
tree685f805faf39a0200cb3bb7ad6708c950d75247b /arch/parisc/include/asm/spinlock.h
parent508774452d657e8d307e1c52682ffcdf743e992d (diff)
downloadblackbird-op-linux-e3243d16726798c451f1d0c356a177117fa75c2e.tar.gz
blackbird-op-linux-e3243d16726798c451f1d0c356a177117fa75c2e.zip
drm/i915: Split 64bit hexadecimal addresses to make them easier to read
Broadwell introduces large address spaces, greater than 32bits in width. These require that we then store and print 64bit values. If we were to zero pad them out to 16 hexadecimal places, we have to carefully count the leading zeroes - which is easy to make a mistake. Conversely, if we do not zero pad out to 16, but keep it padding to 8 hexadecimal places, it is very easy to miss an address that is actually larger than 4GiB. A suggested compromise is to insert a space between the upper and lower dwords of the address so that we can continue with our accustom 32bit parser. (Alternatively, we could do the equivalent in our userspace decoder.) Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'arch/parisc/include/asm/spinlock.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud