[PATCH v7 1/3] drm/tockchip: add function to check if endpoint is a subdriver