Files
android_kernel_xiaomi_sm8450/drivers/gpu/drm/msm
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
..
2015-02-01 15:30:33 -05:00
2015-05-14 11:28:41 -04:00
2015-04-01 19:29:37 -04:00
2014-08-04 11:55:29 -04:00
2014-06-02 07:36:21 -04:00
2014-06-02 07:36:11 -04:00
2013-08-24 14:57:18 -04:00
2013-08-24 14:57:18 -04:00
2014-01-09 14:44:06 -05:00