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