tests/kms_flip: Refactor blit code
tests/kms_flip: Refactor blit code

Pull the code to emit a single blit to a separate function.

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

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