summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/mdp/mdp_kms.c
Commit message (Collapse)AuthorAgeFilesLines
* drm/msm/mdp: Clear pending interrupt status before enable interruptjilai wang2015-08-151-1/+2
| | | | | | | | | Pending interrupt status needs to be cleared before enable the interrupt. Otherwise it's possible to get a pending interrupt instead of an incoming interrupt. Signed-off-by: Jilai Wang <jilaiw@codeaurora.org> Signed-off-by: Rob Clark <robdclark@gmail.com>
* drm/msm: Do not BUG_ON(!spin_is_locked()) on UPBruno Prémont2015-02-011-1/+1
| | | | | | | | | | | | | | | On !SMP systems spinlocks do not exist. Thus checking of they are active will always fail. Use assert_spin_locked(lock); instead of BUG_ON(!spin_is_locked(lock)); to not BUG() on all UP systems. Signed-off-by: Bruno Prémont <bonbons@linux-vserver.org> [robclark: drop stray ')'] Signed-off-by: Rob Clark <robdclark@gmail.com>
* drm/msm/mdp5: update irqs on crtc<->encoder link changeRob Clark2014-12-181-3/+6
| | | | | | | | | | If crtc <-> encoder linkage changes, we could end up with the CRTC listening for the wrong error or vsync irqs. Generally this problem would correct itself relatively quickly, since we update the global irqmask after dispatching irqs, but to be sure let the CRTC trigger update_irq(). Signed-off-by: Rob Clark <robdclark@gmail.com>
* drm/msm/mdp: add timeout for irq waitRob Clark2014-03-311-1/+2
| | | | | | | Make things recover a bit more gracefully if we get stuck with no vblank irq ever coming. Signed-off-by: Rob Clark <robdclark@gmail.com>
* drm/msm: move irq utils to mdp_kmsRob Clark2014-01-091-0/+144
We'll want basically the same thing for mdp5, so refactor it out so it can be shared. Signed-off-by: Rob Clark <robdclark@gmail.com>
OpenPOWER on IntegriCloud