Revert "disp: msm: sde: Avoid kcallocs in atomic commit path"

This reverts commit 6886d03e4a.
It tries to memset the pstate from UI thread (crtc atomic check)
and crtc commit thread.

Change-Id: Ic9d3e5555d7085832df76025e53488d2b3365739
Signed-off-by: Nilaan Gunabalachandran <ngunabal@codeaurora.org>
Этот коммит содержится в:
Nilaan Gunabalachandran
2021-03-01 15:01:11 -05:00
родитель f9ff8af5b6
Коммит 8e2e3358d6
3 изменённых файлов: 75 добавлений и 80 удалений

Просмотреть файл

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2021, The Linux Foundation. All rights reserved.
* Copyright (c) 2015-2020, The Linux Foundation. All rights reserved.
* Copyright (C) 2013 Red Hat
* Author: Rob Clark <robdclark@gmail.com>
*
@@ -143,6 +143,16 @@ struct sde_plane_state {
struct sde_hw_pipe_cdp_cfg cdp_cfg;
};
/**
* struct sde_multirect_plane_states: Defines multirect pair of drm plane states
* @r0: drm plane configured on rect 0
* @r1: drm plane configured on rect 1
*/
struct sde_multirect_plane_states {
const struct drm_plane_state *r0;
const struct drm_plane_state *r1;
};
#define to_sde_plane_state(x) \
container_of(x, struct sde_plane_state, base)