mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 14:43:27 -04:00
disp: msm: sde: update sde interrupt map
Make changes to update sde interrupt map. Change-Id: I2f525c1028dcfe4c20d7e168c0afbbe5583e0b2f Signed-off-by: Nilesh Laad <quic_nlaad@quicinc.com>
This commit is contained in:
parent
21b70e44d7
commit
1f5c327e1b
1 changed files with 14 additions and 27 deletions
|
|
@ -1,5 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2016-2020, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
|
|
@ -73,10 +74,16 @@
|
|||
#define SDE_INTR_INTF_1_UNDERRUN BIT(26)
|
||||
#define SDE_INTR_INTF_2_UNDERRUN BIT(28)
|
||||
#define SDE_INTR_INTF_3_UNDERRUN BIT(30)
|
||||
#define SDE_INTR_INTF_4_UNDERRUN BIT(20)
|
||||
#define SDE_INTR_INTF_5_UNDERRUN BIT(22)
|
||||
#define SDE_INTR_INTF_6_UNDERRUN BIT(16)
|
||||
#define SDE_INTR_INTF_0_VSYNC BIT(25)
|
||||
#define SDE_INTR_INTF_1_VSYNC BIT(27)
|
||||
#define SDE_INTR_INTF_2_VSYNC BIT(29)
|
||||
#define SDE_INTR_INTF_3_VSYNC BIT(31)
|
||||
#define SDE_INTR_INTF_4_VSYNC BIT(21)
|
||||
#define SDE_INTR_INTF_5_VSYNC BIT(23)
|
||||
#define SDE_INTR_INTF_6_VSYNC BIT(17)
|
||||
|
||||
/**
|
||||
* Pingpong Secondary interrupt status bit definitions
|
||||
|
|
@ -251,33 +258,6 @@ static struct sde_irq_type sde_irq_intr_map[] = {
|
|||
{ SDE_IRQ_TYPE_PING_PONG_COMP, PINGPONG_3,
|
||||
SDE_INTR_PING_PONG_3_DONE, -1},
|
||||
|
||||
{ SDE_IRQ_TYPE_PING_PONG_RD_PTR, PINGPONG_0,
|
||||
SDE_INTR_PING_PONG_0_RD_PTR, -1},
|
||||
{ SDE_IRQ_TYPE_PING_PONG_RD_PTR, PINGPONG_1,
|
||||
SDE_INTR_PING_PONG_1_RD_PTR, -1},
|
||||
{ SDE_IRQ_TYPE_PING_PONG_RD_PTR, PINGPONG_2,
|
||||
SDE_INTR_PING_PONG_2_RD_PTR, -1},
|
||||
{ SDE_IRQ_TYPE_PING_PONG_RD_PTR, PINGPONG_3,
|
||||
SDE_INTR_PING_PONG_3_RD_PTR, -1},
|
||||
|
||||
{ SDE_IRQ_TYPE_PING_PONG_WR_PTR, PINGPONG_0,
|
||||
SDE_INTR_PING_PONG_0_WR_PTR, -1},
|
||||
{ SDE_IRQ_TYPE_PING_PONG_WR_PTR, PINGPONG_1,
|
||||
SDE_INTR_PING_PONG_1_WR_PTR, -1},
|
||||
{ SDE_IRQ_TYPE_PING_PONG_WR_PTR, PINGPONG_2,
|
||||
SDE_INTR_PING_PONG_2_WR_PTR, -1},
|
||||
{ SDE_IRQ_TYPE_PING_PONG_WR_PTR, PINGPONG_3,
|
||||
SDE_INTR_PING_PONG_3_WR_PTR, -1},
|
||||
|
||||
{ SDE_IRQ_TYPE_PING_PONG_AUTO_REF, PINGPONG_0,
|
||||
SDE_INTR_PING_PONG_0_AUTOREFRESH_DONE, -1},
|
||||
{ SDE_IRQ_TYPE_PING_PONG_AUTO_REF, PINGPONG_1,
|
||||
SDE_INTR_PING_PONG_1_AUTOREFRESH_DONE, -1},
|
||||
{ SDE_IRQ_TYPE_PING_PONG_AUTO_REF, PINGPONG_2,
|
||||
SDE_INTR_PING_PONG_2_AUTOREFRESH_DONE, -1},
|
||||
{ SDE_IRQ_TYPE_PING_PONG_AUTO_REF, PINGPONG_3,
|
||||
SDE_INTR_PING_PONG_3_AUTOREFRESH_DONE, -1},
|
||||
|
||||
{ SDE_IRQ_TYPE_INTF_UNDER_RUN, INTF_0, SDE_INTR_INTF_0_UNDERRUN, -1},
|
||||
{ SDE_IRQ_TYPE_INTF_VSYNC, INTF_0, SDE_INTR_INTF_0_VSYNC, -1},
|
||||
{ SDE_IRQ_TYPE_INTF_UNDER_RUN, INTF_1, SDE_INTR_INTF_1_UNDERRUN, -1},
|
||||
|
|
@ -287,6 +267,13 @@ static struct sde_irq_type sde_irq_intr_map[] = {
|
|||
{ SDE_IRQ_TYPE_INTF_VSYNC, INTF_2, SDE_INTR_INTF_2_VSYNC, -1},
|
||||
{ SDE_IRQ_TYPE_INTF_UNDER_RUN, INTF_3, SDE_INTR_INTF_3_UNDERRUN, -1},
|
||||
{ SDE_IRQ_TYPE_INTF_VSYNC, INTF_3, SDE_INTR_INTF_3_VSYNC, -1},
|
||||
|
||||
{ SDE_IRQ_TYPE_INTF_UNDER_RUN, INTF_4, SDE_INTR_INTF_4_UNDERRUN, -1},
|
||||
{ SDE_IRQ_TYPE_INTF_VSYNC, INTF_4, SDE_INTR_INTF_4_VSYNC, -1},
|
||||
{ SDE_IRQ_TYPE_INTF_UNDER_RUN, INTF_5, SDE_INTR_INTF_5_UNDERRUN, -1},
|
||||
{ SDE_IRQ_TYPE_INTF_VSYNC, INTF_5, SDE_INTR_INTF_5_VSYNC, -1},
|
||||
{ SDE_IRQ_TYPE_INTF_UNDER_RUN, INTF_6, SDE_INTR_INTF_6_UNDERRUN, -1},
|
||||
{ SDE_IRQ_TYPE_INTF_VSYNC, INTF_6, SDE_INTR_INTF_6_VSYNC, -1},
|
||||
};
|
||||
|
||||
static struct sde_irq_type sde_irq_intr2_map[] = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue