disp: msm: sde: convert system cache boolean to feature bit
Currently a boolean variable is used to track if the system cache feature is enable for a particular SCID. This change converts it to use a feature bit instead. Change-Id: I8461fd9fb837b871c4ac5c67a9ab7613aadea7bb Signed-off-by: Amine Najahi <quic_anajahi@quicinc.com>
Este cometimento está contido em:
@@ -625,8 +625,8 @@ int sde_wb_connector_post_init(struct drm_connector *connector, void *display)
|
||||
wb_dev->connector = connector;
|
||||
wb_dev->detect_status = connector_status_connected;
|
||||
|
||||
if (catalog->sc_cfg[SDE_SYS_CACHE_DISP].has_sys_cache
|
||||
|| catalog->sc_cfg[SDE_SYS_CACHE_DISP_WB].has_sys_cache)
|
||||
if (test_bit(SDE_SYS_CACHE_DISP, catalog->sde_sys_cache_type_map)
|
||||
|| test_bit(SDE_SYS_CACHE_DISP_WB, catalog->sde_sys_cache_type_map))
|
||||
msm_property_install_enum(&c_conn->property_info, "cache_state",
|
||||
0x0, 0, e_cache_state, ARRAY_SIZE(e_cache_state),
|
||||
0, CONNECTOR_PROP_CACHE_STATE);
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador