drm/framebuffer: Print task that allocated the fb in debug info.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 20 Dec 2017 09:35:44 +0000 (10:35 +0100)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 20 Dec 2017 14:30:17 +0000 (15:30 +0100)
commit8d44e9e69aacecd522bb2797eb2febc5c6c46558
tree6bfeb81401e996cbb2dc431f9fcca7f73f99cb1a
parent48c9571c34b153abc1c4f2b431fa74490b671943
drm/framebuffer: Print task that allocated the fb in debug info.

This is is very useful to finding sources of leaked framebufers.
The fbcon fb is annotated with [fbcon], to give it a better name
than kworker.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171220093545.613-3-maarten.lankhorst@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_fb_helper.c
drivers/gpu/drm/drm_framebuffer.c
include/drm/drm_framebuffer.h