disp: msm: sde: remove drm panel callback

For GKI2.0, the old drm_panel_notifier function could not
be used anymore, so removed it.

Change-Id: I858f90d7c39816dc95ab59f88c8988237319eadc
Signed-off-by: Yuan Zhao <yzhao@codeaurora.org>
这个提交包含在:
Yuan Zhao
2021-01-13 12:06:16 +08:00
父节点 a005a785fe
当前提交 73cb7a36c5
修改 2 个文件,包含 22 行新增12 行删除

查看文件

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2020, The Linux Foundation. All rights reserved.
* Copyright (c) 2015-2021, The Linux Foundation. All rights reserved.
* Copyright (C) 2013 Red Hat
* Author: Rob Clark <robdclark@gmail.com>
*
@@ -128,6 +128,11 @@
/* ESD status check interval in miliseconds */
#define STATUS_CHECK_INTERVAL_MS 5000
/* A hardware display blank change occurred */
#define DRM_PANEL_EVENT_BLANK 0x01
/* A hardware display blank early change occurred */
#define DRM_PANEL_EARLY_EVENT_BLANK 0x02
/**
* enum sde_kms_smmu_state: smmu state
* @ATTACHED: all the context banks are attached.
@@ -186,6 +191,19 @@ enum frame_trigger_mode_type {
FRAME_DONE_WAIT_POSTED_START,
};
/*
* @DRM_PANEL_BLANK_UNBLANK: power on
* @DRM_PANEL_BLANK_POWERDOWN: power off
* @DRM_PANEL_BLANK_LP: low power mode
* @DRM_PANEL_BLANK_FPS_CHANGE: fps change
*/
enum {
DRM_PANEL_BLANK_UNBLANK,
DRM_PANEL_BLANK_POWERDOWN,
DRM_PANEL_BLANK_LP,
DRM_PANEL_BLANK_FPS_CHANGE,
};
/**
* struct sde_kms_smmu_state_data: stores the smmu state and transition type
* @state: current state of smmu context banks