[PATCH 1/2] drm: xlnx: add is_layer_vid() to simplify the code