OSDN Git Service

drm: add drm_print_bits
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 4 Sep 2019 05:47:34 +0000 (07:47 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 10 Sep 2019 06:53:08 +0000 (08:53 +0200)
commit2dc5d44ccc5e7f032dbea2735b243f7f50ff863e
treed7ae7f83367e4f21dc3ca880ed95223a2e7c0239
parent2236439bc6679caa905d65def47dacd12466c2e9
drm: add drm_print_bits

New helper to print named bits of some value (think flags fields).

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: http://patchwork.freedesktop.org/patch/msgid/20190904054740.20817-2-kraxel@redhat.com
drivers/gpu/drm/drm_print.c
include/drm/drm_print.h