OSDN Git Service

intel: Give an explanation why we are exiting for debugging.
authorEugeni Dodonov <eugeni.dodonov@intel.com>
Fri, 2 Sep 2011 13:29:31 +0000 (10:29 -0300)
committerEugeni Dodonov <eugeni.dodonov@intel.com>
Fri, 2 Sep 2011 19:23:32 +0000 (16:23 -0300)
commit6862b54f4d4e88ef6ebf709ea7798093ec337e2a
treed7faada3b8e58a2e09896b23dee6383887ab3dd4
parentee41383ab31f6ef5f1d18961de78371d4f52065b
intel: Give an explanation why we are exiting for debugging.

This could happen in 3 different cases, and ERRNO can explain what
happened. First case would be EIO (gpu hang), second EINVAL (something is
wrong inside the batch), and we also discovered that sometimes it happens
with ENOSPACE. All of those cases are different it it could be worth to at
least know what happened.

Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
src/mesa/drivers/dri/intel/intel_batchbuffer.c