disp: msm: sde: remove wb kickoff/frame count & bypass_irqreg logic

Remove the writeback kickoff_count/frame_count & start/end time
logging. These are redundant counters used for debug purpose. The
pending_retire_fence_cnt and event-logs timestamp can be used for
this purpose. Remove the bypass_irqreg flag as well as its not used.

Change-Id: I1644325afc214f75c76baad615da90c8114836cc
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
This commit is contained in:
Veera Sundaram Sankaran
2021-06-18 11:08:52 -07:00
parent d36499ca86
commit f57c003810
2 changed files with 15 additions and 79 deletions

View File

@@ -417,7 +417,6 @@ struct sde_encoder_phys_cmd {
* @base: Baseclass physical encoder structure
* @hw_wb: Hardware interface to the wb registers
* @wbdone_timeout: Timeout value for writeback done in msec
* @bypass_irqreg: Bypass irq register/unregister if non-zero
* @wb_cfg: Writeback hardware configuration
* @cdp_cfg: Writeback CDP configuration
* @wb_roi: Writeback region-of-interest
@@ -426,12 +425,8 @@ struct sde_encoder_phys_cmd {
* @wb_aspace: Pointer to current writeback address space
* @cwb_old_fb: Pointer to old writeback framebuffer
* @cwb_old_aspace: Pointer to old writeback address space
* @frame_count: Counter of completed writeback operations
* @kickoff_count: Counter of issued writeback operations
* @aspace: address space identifier for non-secure/secure domain
* @wb_dev: Pointer to writeback device
* @start_time: Start time of writeback latest request
* @end_time: End time of writeback latest request
* @bo_disable: Buffer object(s) to use during the disabling state
* @fb_disable: Frame buffer to use during the disabling state
* @crtc Pointer to drm_crtc
@@ -440,7 +435,6 @@ struct sde_encoder_phys_wb {
struct sde_encoder_phys base;
struct sde_hw_wb *hw_wb;
u32 wbdone_timeout;
u32 bypass_irqreg;
struct sde_hw_wb_cfg wb_cfg;
struct sde_hw_wb_cdp_cfg cdp_cfg;
struct sde_rect wb_roi;
@@ -449,12 +443,8 @@ struct sde_encoder_phys_wb {
struct msm_gem_address_space *wb_aspace;
struct drm_framebuffer *cwb_old_fb;
struct msm_gem_address_space *cwb_old_aspace;
u32 frame_count;
u32 kickoff_count;
struct msm_gem_address_space *aspace[SDE_IOMMU_DOMAIN_MAX];
struct sde_wb_device *wb_dev;
ktime_t start_time;
ktime_t end_time;
struct drm_gem_object *bo_disable[SDE_MAX_PLANES];
struct drm_framebuffer *fb_disable;
struct drm_crtc *crtc;