[PATCH v3 10/11] drm/tinydrm: Use drm_fb_cma_fbdev_init_with_funcs/fini()

Noralf Trønnes noralf at tronnes.org
Sun Dec 10 14:41:28 UTC 2017


Den 08.12.2017 22.34, skrev David Lechner:
> On 12/08/2017 01:37 PM, Noralf Trønnes wrote:
>> Use drm_fb_cma_fbdev_init_with_funcs() and drm_fb_cma_fbdev_fini() which
>> relies on the fact that drm_device holds a pointer to the drm_fb_helper
>> structure. This means that the driver doesn't have to keep track of 
>> that.
>> Also use the drm_fb_helper functions directly.
>> Remove todo entry.
>>
>> Cc: David Lechner <david at lechnology.com>
>> Signed-off-by: Noralf Trønnes <noralf at tronnes.org>
>> Acked-by: David Lechner <david at lechnology.com>
>> Acked-by: Daniel Vetter <daniel.vetter at ffwll.ch>
>> ---
>>   Documentation/gpu/todo.rst                  |  5 ----
>>   drivers/gpu/drm/tinydrm/core/tinydrm-core.c | 37 
>> ++++-------------------------
>>   drivers/gpu/drm/tinydrm/ili9225.c           |  3 ++-
>>   drivers/gpu/drm/tinydrm/mi0283qt.c          |  3 ++-
>>   drivers/gpu/drm/tinydrm/st7586.c            |  3 ++-
>>   include/drm/tinydrm/tinydrm.h               |  3 ---
>>   6 files changed, 11 insertions(+), 43 deletions(-)
>>
>
> Tested-by: David Lechner <david at lechnolgy.com>
>

Thanks, applied to drm-misc.

Noralf.



More information about the dri-devel mailing list