lib: Fix assert failure in ring stop code
lib: Fix assert failure in ring stop code

The assert in igt_set_stop_rings() is a bit bogus. Suppsoedly it was
meant to assure that the caller always restores the rings to running
state after stopping them. But in its current form it will trigger
any time someone calls the function and the rings were already stopped.
So you can't even restore the rings to running state w/o the assert
triggering.

Fix it up so that it'll ignore the current ring state when we're trying
to restore the rings back to running state.

Signed-off-by: Ville Syrjälä <cd6e8d405ca90be3a03d5427c5b24fbd2d68dcc4@linux.intel.com>

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