commit | 0d44d3fa2b9089b0039118351773d465204ad581 | [log] [tgz] |
---|---|---|
author | Alex Dai <yu.dai@intel.com> | Tue Sep 22 13:48:40 2015 -0700 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Wed Sep 30 10:20:00 2015 +0200 |
tree | 2e0b3c9603ede9f864b008e6cfd6d2e575242a80 | |
parent | 124abe076fd8b360dd7c651046cb8b204268efeb [diff] |
drm/i915/guc: Fix a bug in GuC status check Bit 16 of GuC status indicates resuming from RC6. The LAPIC_DONE status is a reliable readiness flag only when resuming from RC6. This fix a racing issue that allocation of doorbell fails whilst GuC init is not finished. Signed-off-by: Alex Dai <yu.dai@intel.com> Reviewed-by: Sagar Arun Kamble <sagar.a.kamble@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>