mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
drm/vc4: fkms: Rename plane related functions
The name collide with the Full KMS functions that are going to be made public. Signed-off-by: Maxime Ripard <maxime@cerno.tech>
This commit is contained in:
committed by
Dom Cobley
parent
88356ed698
commit
00f28018b4
@@ -661,8 +661,8 @@ static int vc4_plane_to_mb(struct drm_plane *plane,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int vc4_plane_atomic_check(struct drm_plane *plane,
|
||||
struct drm_atomic_state *state)
|
||||
static int vc4_fkms_plane_atomic_check(struct drm_plane *plane,
|
||||
struct drm_atomic_state *state)
|
||||
{
|
||||
struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state,
|
||||
plane);
|
||||
@@ -719,7 +719,7 @@ static int vc4_plane_atomic_async_check(struct drm_plane *plane,
|
||||
}
|
||||
|
||||
/* Called during init to allocate the plane's atomic state. */
|
||||
static void vc4_plane_reset(struct drm_plane *plane)
|
||||
static void vc4_fkms_plane_reset(struct drm_plane *plane)
|
||||
{
|
||||
struct vc4_plane_state *vc4_state;
|
||||
|
||||
@@ -779,7 +779,7 @@ static bool vc4_fkms_format_mod_supported(struct drm_plane *plane,
|
||||
}
|
||||
}
|
||||
|
||||
static struct drm_plane_state *vc4_plane_duplicate_state(struct drm_plane *plane)
|
||||
static struct drm_plane_state *vc4_fkms_plane_duplicate_state(struct drm_plane *plane)
|
||||
{
|
||||
struct vc4_plane_state *vc4_state;
|
||||
|
||||
@@ -800,8 +800,8 @@ static const struct drm_plane_funcs vc4_plane_funcs = {
|
||||
.disable_plane = drm_atomic_helper_disable_plane,
|
||||
.destroy = vc4_plane_destroy,
|
||||
.set_property = NULL,
|
||||
.reset = vc4_plane_reset,
|
||||
.atomic_duplicate_state = vc4_plane_duplicate_state,
|
||||
.reset = vc4_fkms_plane_reset,
|
||||
.atomic_duplicate_state = vc4_fkms_plane_duplicate_state,
|
||||
.atomic_destroy_state = drm_atomic_helper_plane_destroy_state,
|
||||
.format_mod_supported = vc4_fkms_format_mod_supported,
|
||||
};
|
||||
@@ -809,7 +809,7 @@ static const struct drm_plane_funcs vc4_plane_funcs = {
|
||||
static const struct drm_plane_helper_funcs vc4_plane_helper_funcs = {
|
||||
.prepare_fb = drm_gem_plane_helper_prepare_fb,
|
||||
.cleanup_fb = NULL,
|
||||
.atomic_check = vc4_plane_atomic_check,
|
||||
.atomic_check = vc4_fkms_plane_atomic_check,
|
||||
.atomic_update = vc4_plane_atomic_update,
|
||||
.atomic_disable = vc4_plane_atomic_disable,
|
||||
.atomic_async_check = vc4_plane_atomic_async_check,
|
||||
|
||||
Reference in New Issue
Block a user