drm/simple-kms: Remove drm_gem_simple_display_pipe_prepare_fb()
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 2 Dec 2022 12:56:37 +0000 (13:56 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 5 Dec 2022 12:35:37 +0000 (13:35 +0100)
commit00b5497d642bec3ceef85f3abe642d991a75ddf0
tree80490c6f776ac12485a9cea3a0ac3f68ab395760
parent0870d86eac8a9abd89a0be1b719d5dc5bac936f0
drm/simple-kms: Remove drm_gem_simple_display_pipe_prepare_fb()

The helper drm_gem_simple_display_pipe_prepare_fb() is simple-KMS'
default implementation for prepare_fb. Remove the call from drivers
that set it explicitly. Then inline the helper into the only caller
within simple-kms helpers. No functional changes.

Simple-KMS drivers that implement the prepare_fb callback should call
drm_gem_plane_helper_prepare_fb() directly.

v2:
* fix typo in commit message

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Noralf Trønnes <noralf@tronnes.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20221202125644.7917-2-tzimmermann@suse.de
drivers/gpu/drm/drm_gem_atomic_helper.c
drivers/gpu/drm/drm_simple_kms_helper.c
drivers/gpu/drm/panel/panel-ilitek-ili9341.c
drivers/gpu/drm/tiny/ili9163.c
include/drm/drm_gem_atomic_helper.h
include/drm/drm_plane.h
include/drm/drm_simple_kms_helper.h