linux/drivers/gpu/drm/msm
Archit Taneja b148928010 drm/msm/mdp5: Update mdp5_pipe_assign to spit out both planes
We currently call mdp5_pipe_assign() twice to assign the left and right
hwpipes for our drm_plane. When merging 2 hwpipes, there are a few
constraints that we need to keep in mind:

- Only the same types of SSPPs are preferred. I.e, a RGB pipe should
  be paired with another RGB pipe, VIG with VIG etc.
- The hwpipe staged on the left should have a higher priority than
  the hwpipe staged on the right. The priorities are as follows:
  VIG0 > VIG1 > VIG2 > VIG3
  RGB0 > RGB1 > RGB2 > RGB3
  DMA0 > DMA1

We can't apply these constraints easily if mdp5_pipe_assign() is
called twice. Update mdp5_pipe_assign() to find both hwpipes in
one go, and add the extra constraints needed.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
2017-10-28 14:02:58 -04:00
..
adreno drm/msm: Implement preemption for A5XX targets 2017-10-28 11:01:38 -04:00
dsi drm/msm/dsi: convert to msm_clk_get() 2017-10-28 11:01:33 -04:00
edp drm/msm/edp: convert to msm_clk_get() 2017-10-28 11:01:33 -04:00
hdmi drm/msm/hdmi: convert to msm_clk_get() 2017-10-28 11:01:34 -04:00
mdp drm/msm/mdp5: Update mdp5_pipe_assign to spit out both planes 2017-10-28 14:02:58 -04:00
Kconfig drm/msm: gpu: call qcom_mdt interfaces only for ARCH_QCOM 2017-08-01 19:25:51 -04:00
Makefile drm/msm: Implement preemption for A5XX targets 2017-10-28 11:01:38 -04:00
msm_atomic.c drm/msm: update cursors asynchronously through atomic 2017-10-28 14:02:56 -04:00
msm_debugfs.c drm/msm/gpu: use pm-runtime 2017-04-08 06:59:31 -04:00
msm_debugfs.h drm/msm: Remove msm_debugfs_cleanup() 2017-03-08 11:24:45 +01:00
msm_drv.c drm/msm/atomic: switch to drm_atomic_helper_check 2017-10-28 14:02:56 -04:00
msm_drv.h drm/msm/atomic: switch to drm_atomic_helper_check 2017-10-28 14:02:56 -04:00
msm_fb.c drm/msm: make msm_framebuffer_init() static 2017-08-22 13:20:39 -04:00
msm_fbdev.c Merge tag 'drm-msm-next-2017-08-22' of git://people.freedesktop.org/~robclark/linux into drm-next 2017-08-25 09:29:45 +10:00
msm_fence.c drm/msm: Support multiple ringbuffers 2017-10-28 11:01:36 -04:00
msm_fence.h drm/msm: Support multiple ringbuffers 2017-10-28 11:01:36 -04:00
msm_gem_prime.c drm/msm: Expose our reservation object when exporting a dmabuf. 2017-05-27 13:48:26 -04:00
msm_gem_shrinker.c drm/msm: Separate locking of buffer resources from struct_mutex 2017-06-17 08:03:07 -04:00
msm_gem_submit.c drm/msm: preserve IOVAs in submit's bo table 2017-10-28 13:59:18 -04:00
msm_gem_vma.c drm/msm: NULL pointer dereference in drivers/gpu/drm/msm/msm_gem_vma.c 2017-08-01 18:41:16 -04:00
msm_gem.c drm/msm: add special _get_vaddr_active() for cmdstream dumps 2017-10-28 13:59:17 -04:00
msm_gem.h drm/msm: Support multiple ringbuffers 2017-10-28 11:01:36 -04:00
msm_gpu.c drm/msm: dump submits which triggered gpu hang 2017-10-28 14:02:50 -04:00
msm_gpu.h drm/msm: Make the value of RB_CNTL (almost) generic 2017-10-28 11:01:38 -04:00
msm_iommu.c drm/msm: pm runtime support for iommu 2017-04-08 06:59:31 -04:00
msm_kms.h drm/msm/mdp5: Set up runtime PM for MDSS 2017-08-02 07:53:46 -04:00
msm_mmu.h drm/msm: let gpu wire up it's own fault handler 2017-02-06 11:28:42 -05:00
msm_perf.c drm/msm: Remove msm_debugfs_cleanup() 2017-03-08 11:24:45 +01:00
msm_rd.c drm/msm/rd: allow adding addition msg to top of dump 2017-10-28 13:59:18 -04:00
msm_ringbuffer.c drm/msm: Implement preemption for A5XX targets 2017-10-28 11:01:38 -04:00
msm_ringbuffer.h drm/msm: Implement preemption for A5XX targets 2017-10-28 11:01:38 -04:00
msm_submitqueue.c drm/msm: Support multiple ringbuffers 2017-10-28 11:01:36 -04:00
NOTES drm/msm: add mdp5/apq8x74 2014-01-09 14:44:06 -05:00