Just mode changed no need to display previous planes. Deleted by SPRD for HWC SR function. There is no need to add all old planes for sprd drm according to plane mask. Because the dpu driver will display extra planes which reduce display abnormal. Bug: 227721498 Signed-off-by: Gaofeng Sheng <gaofeng.sheng@unisoc.com> Signed-off-by: Carlos Llamas <cmllamas@google.com> Change-Id: I47048e430d2b2605b9111b6c9ee4958443dc7239
24 lines
623 B
C
24 lines
623 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#undef TRACE_SYSTEM
|
|
#define TRACE_SYSTEM drm_atomic
|
|
|
|
#undef TRACE_INCLUDE_PATH
|
|
#define TRACE_INCLUDE_PATH trace/hooks
|
|
|
|
#if !defined(_TRACE_HOOK_DRM_ATOMIC_H) || defined(TRACE_HEADER_MULTI_READ)
|
|
#define _TRACE_HOOK_DRM_ATOMIC_H
|
|
|
|
#include <trace/hooks/vendor_hooks.h>
|
|
|
|
struct drm_atomic_state;
|
|
struct drm_crtc;
|
|
DECLARE_HOOK(android_vh_drm_atomic_check_modeset,
|
|
TP_PROTO(struct drm_atomic_state *state, struct drm_crtc *crtc, bool *allow),
|
|
TP_ARGS(state, crtc, allow))
|
|
|
|
#endif /* _TRACE_HOOK_DRM_ATOMIC_H */
|
|
/* This part must be outside protection */
|
|
#include <trace/define_trace.h>
|
|
|