disp: msm: sde: enable ctl path and irqs for wb1
This change enables support for wb1 in ctl path and adds irq support. Change-Id: Iebbe35725aa279b8e02217ea93ba1b481f5e869f Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
15342a23fe
commit
6e7a48579b
@@ -128,7 +128,7 @@ static const u32 fetch_tbl[SSPP_MAX] = {CTL_INVALID_BIT, 16, 17, 18, 19,
|
||||
/**
|
||||
* list of WB bits in CTL_WB_FLUSH
|
||||
*/
|
||||
static const u32 wb_flush_tbl[WB_MAX] = {SDE_NONE, SDE_NONE, SDE_NONE, 2};
|
||||
static const u32 wb_flush_tbl[WB_MAX] = {SDE_NONE, SDE_NONE, 1, 2};
|
||||
|
||||
/**
|
||||
* list of INTF bits in CTL_INTF_FLUSH
|
||||
|
@@ -234,8 +234,8 @@ struct sde_irq_type {
|
||||
*/
|
||||
static struct sde_irq_type sde_irq_intr_map[] = {
|
||||
|
||||
{ SDE_IRQ_TYPE_WB_ROT_COMP, WB_0, SDE_INTR_WB_0_DONE, -1},
|
||||
{ SDE_IRQ_TYPE_WB_ROT_COMP, WB_1, SDE_INTR_WB_1_DONE, -1},
|
||||
{ SDE_IRQ_TYPE_WB_WFD_COMP, WB_0, SDE_INTR_WB_0_DONE, -1},
|
||||
{ SDE_IRQ_TYPE_WB_WFD_COMP, WB_1, SDE_INTR_WB_1_DONE, -1},
|
||||
{ SDE_IRQ_TYPE_WD_TIMER, WD_TIMER_0, SDE_INTR_WD_TIMER_0_DONE, -1},
|
||||
{ SDE_IRQ_TYPE_WD_TIMER, WD_TIMER_1, SDE_INTR_WD_TIMER_1_DONE, -1},
|
||||
|
||||
|
@@ -891,7 +891,7 @@ static int sde_wb_probe(struct platform_device *pdev)
|
||||
platform_set_drvdata(pdev, wb_dev);
|
||||
|
||||
mutex_lock(&sde_wb_list_lock);
|
||||
list_add(&wb_dev->wb_list, &sde_wb_list);
|
||||
list_add_tail(&wb_dev->wb_list, &sde_wb_list);
|
||||
mutex_unlock(&sde_wb_list_lock);
|
||||
|
||||
if (!_sde_wb_dev_init(wb_dev)) {
|
||||
|
Reference in New Issue
Block a user