disp: msm: sde: move boolean flags in catalog to a bitmap

Move all the individual boolean flags from HW catalog into a
"features" bitmap. These flags are used to specify support of
various target specific features.

Change-Id: I2334b3b873f3737f91bbae4ef576408247710156
Signed-off-by: Steve Cohen <quic_cohens@quicinc.com>
This commit is contained in:
Steve Cohen
2021-02-09 18:52:33 -05:00
gecommit door Jeykumar Sankaran
bovenliggende 5f25adc693
commit 7f0c843da4
13 gewijzigde bestanden met toevoegingen van 479 en 502 verwijderingen

Bestand weergeven

@@ -4759,7 +4759,7 @@ static int _sde_kms_hw_init_blocks(struct sde_kms *sde_kms,
* timestamp as the DRM hooks for vblank timestamp/counters would be set
* based on the feature
*/
if (sde_kms->catalog->has_precise_vsync_ts)
if (test_bit(SDE_FEATURE_HW_VSYNC_TS, sde_kms->catalog->features))
dev->vblank_disable_immediate = true;
/*