]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/msm/mdp4: fix blend setup with multiple crtcs
authorRob Clark <robdclark@gmail.com>
Wed, 6 Aug 2014 11:43:12 +0000 (07:43 -0400)
committerRob Clark <robdclark@gmail.com>
Wed, 10 Sep 2014 15:19:06 +0000 (11:19 -0400)
commitd65bd0e431156f156f43946b6efb524694afb685
treea1d14c39b4ff8e7535fb764232e9cb86e793eb94
parentf9a1ca5c4734ad0da68ab322c8e9b7eb0b63a789
drm/msm/mdp4: fix blend setup with multiple crtcs

In particular, blend_setup() should not overwrite the other crtc's mixer
settings.  Also, the encoder needs to be able to specify the mixer-id
explicitly, since both LVDS and DTV use 'INTF_LVDC_DTV', so we cannot
guess the mixer-id from the interface.

Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/mdp/mdp4/mdp4_crtc.c
drivers/gpu/drm/msm/mdp/mdp4/mdp4_dtv_encoder.c
drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.c
drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.h
drivers/gpu/drm/msm/msm_drv.c