drm/msm/sde: update vblank and underrun isr handling

Current sde driver enables the underrun interrupt for
all interfaces during bootup. That's not a desired
behavior. It should be handled through each interface
when it is enabled/disabled. This patch updates the
irq APIs on each interface to handle generic irq request
and uses them for vblank, underrun, etc interrupts.

Change-Id: I890110eef975555a771a0690c5f762b0a3f18737
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
diff --git a/drivers/gpu/drm/msm/sde/sde_encoder_phys_wb.c b/drivers/gpu/drm/msm/sde/sde_encoder_phys_wb.c
index 3600e44..32a25e4 100644
--- a/drivers/gpu/drm/msm/sde/sde_encoder_phys_wb.c
+++ b/drivers/gpu/drm/msm/sde/sde_encoder_phys_wb.c
@@ -542,7 +542,8 @@
 
 	complete_all(&wb_enc->wbdone_complete);
 
-	phys_enc->parent_ops.handle_vblank_virt(phys_enc->parent);
+	phys_enc->parent_ops.handle_vblank_virt(phys_enc->parent,
+			phys_enc);
 }
 
 /**
@@ -1066,6 +1067,7 @@
 	phys_enc->sde_kms = p->sde_kms;
 	phys_enc->split_role = p->split_role;
 	phys_enc->intf_mode = INTF_MODE_WB_LINE;
+	phys_enc->intf_idx = p->intf_idx;
 	spin_lock_init(&phys_enc->spin_lock);
 
 	ret = sde_encoder_phys_wb_init_debugfs(phys_enc, p->sde_kms);