[PATCH openEuler-5.10 133/236] drm/msm/mdp4: refactor HW revision detection into read_mdp_hw_revision