linux_dsm_epyc7002/drivers/gpu/drm/msm/mdp
Stephane Viau fe34464df5 drm/msm/mdp5: Fix iteration on INTF config array
The current iteration in get_dsi_id_from_intf() is wrong:
instead of iterating until hw_cfg->intf.count, we need to iterate
until MDP5_INTF_NUM_MAX here.

Let's take the example of msm8x16:

 hw_cfg->intf.count = 1
 intfs[0] = INTF_Disabled
 intfs[1] = INTF_DSI

If we stop iterating once i reaches hw_cfg->intf.count (== 1),
we will miss the test for intfs[1].

Actually, this hw_cfg->intf.count entry is quite confusing and is not
(or *should not be*) used anywhere else; let's remove it.

Signed-off-by: Stephane Viau <sviau@codeaurora.org>
2015-05-14 11:29:20 -04:00
..
mdp4 Linux 4.0-rc3 2015-03-09 19:58:30 +10:00
mdp5 drm/msm/mdp5: Fix iteration on INTF config array 2015-05-14 11:29:20 -04:00
mdp_common.xml.h drm/msm: update generated headers 2015-02-01 15:30:33 -05:00
mdp_format.c drm/msm/mdp: add common YUV information for MDP4/MDP5 2015-02-01 15:30:34 -05:00
mdp_kms.c drm/msm: Do not BUG_ON(!spin_is_locked()) on UP 2015-02-01 15:30:25 -05:00
mdp_kms.h drm/msm/mdp: add common YUV information for MDP4/MDP5 2015-02-01 15:30:34 -05:00