disp: msm: sde: fix 3dmux bookkeeping during resource info check
Currently, num of 3dmux used is incremented or decremented based on LM allotment. This was leading to wrong bookkeeping in few corner cases. This change maintains a 3d mux mask to track the usage and update the count accordingly. Change-Id: Idf25eff827462f3f0263d01a1aa733a1cbaf0a83 Signed-off-by: Sandeep Gangadharaiah <quic_sandgang@quicinc.com>
Este cometimento está contido em:

cometido por
Gerrit - the friendly Code Review server

ascendente
b3b8331cdb
cometimento
52a0b8ab86
@@ -849,6 +849,7 @@ struct msm_mode_info {
|
||||
* @num_ctl number of ctl available
|
||||
* @num_3dmux number of 3d mux available
|
||||
* @max_mixer_width: max width supported by layer mixer
|
||||
* @merge_3d_mask: bitmap of available 3d mux resource
|
||||
*/
|
||||
struct msm_resource_caps_info {
|
||||
uint32_t num_lm_in_use;
|
||||
@@ -858,6 +859,7 @@ struct msm_resource_caps_info {
|
||||
uint32_t num_ctl;
|
||||
uint32_t num_3dmux;
|
||||
uint32_t max_mixer_width;
|
||||
unsigned long merge_3d_mask;
|
||||
};
|
||||
|
||||
/**
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador