Propagate error code
Propagate error code

Signed-off-by: Sebastian Ramacher <63df716952f6985d63bd730444128636613d6384@debian.org>
Reviewed-by: Zhao, Yakui <21bae65ecea50a19bd9d0fef489914760189fd5b@intel.com>
(cherry picked from commit ca1acd54eb59eadabfb40a4b61df2e8968b5e00d)

gbeauchesne/libva-intel-driver,01org/iotg-lin-gfx-va-driver,gbeauchesne/libva-intel-driver,chenxianqin/vaapi-intel-driver,chenxianqin/vaapi-intel-driver,gbeauchesne/libva-intel-driver,01org/iotg-lin-gfx-va-driver,01org/iotg-lin-gfx-va-driver,gbeauchesne/libva-intel-driver,uartie/vaapi-intel-driver,uartie/vaapi-intel-driver,chenxianqin/vaapi-intel-driver,01org/iotg-lin-gfx-va-driver,uartie/vaapi-intel-driver,uartie/vaapi-intel-driver,01org/iotg-lin-gfx-va-driver,chenxianqin/vaapi-intel-driver,gbeauchesne/libva-intel-driver,chenxianqin/vaapi-intel-driver,uartie/vaapi-intel-driver