gem_ring_sync_loop: check the rings supported by the kernel
gem_ring_sync_loop: check the rings supported by the kernel

Signed-off-by: Xiang, Haihao <8d677183e5993577d4fa73a419b76987913292d6@intel.com>
Signed-off-by: Zhong Li <ad6bffae321e88d39f25028f12e29bb1c91acd98@intel.com>
Signed-off-by: Ben Widawsky <73675debcd8a436be48ec22211dcf44fe0df0a64@bwidawsk.net>

yipdw/intel-gpu-tools,erikarn/intel-gpu-tools,chenxianqin/intel-gpu-tools,rib/intel-gpu-tools,dlespiau/checkmate-test-igt,yipdw/intel-gpu-tools,chenxianqin/intel-gpu-tools,tiagovignatti/intel-gpu-tools,tiagovignatti/intel-gpu-tools,erikarn/intel-gpu-tools,rib/intel-gpu-tools,rib/intel-gpu-tools,mv0/intel-gpu-tools,chenxianqin/intel-gpu-tools,dlespiau/checkmate-test-igt,erikarn/intel-gpu-tools,mv0/intel-gpu-tools,tiagovignatti/intel-gpu-tools,mv0/intel-gpu-tools,erikarn/intel-gpu-tools,chenxianqin/intel-gpu-tools,rib/intel-gpu-tools,mv0/intel-gpu-tools,dlespiau/checkmate-test-igt,tiagovignatti/intel-gpu-tools,dlespiau/checkmate-test-igt,yipdw/intel-gpu-tools,yipdw/intel-gpu-tools