tests/pm_rpm: add disable_or_dpms_all_screens()
tests/pm_rpm: add disable_or_dpms_all_screens()

And its and_wait() version. The goal is to extract common code
patterns into functions/macros, so the code for the test cases gets
easier to read and write.

Signed-off-by: Paulo Zanoni <cc0e04a2103c45cd195651d976f79813d0f66bdf@intel.com>

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