Bug 69104 - Using stolen framebuffers and ringbuffers leads to incoherent CS reads
Summary: Using stolen framebuffers and ringbuffers leads to incoherent CS reads
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: Other All
: medium normal
Assignee: Jesse Barnes
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-08 15:46 UTC by Chris Wilson
Modified: 2017-07-24 22:57 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
error (2.14 MB, text/plain)
2013-09-08 15:46 UTC, Chris Wilson
no flags Details

Description Chris Wilson 2013-09-08 15:46:41 UTC
Created attachment 85434 [details]
error

Note:

  ACTHD: 0x01a62044
    at batch: 0x01a62044
  IPEIR: 0x00000000
  IPEHR: 0xa12a1f8f

which is a long way past the end of the current batch 0x01a48000

Also note the object:   00043000     40776 04 48c7a000 2ed42030 3c6a7e38 P snooped or LLC

Sadly we don't record which objects were in stolen, here is it the framebuffers and ringbuffers.
Comment 1 Jani Nikula 2014-01-10 15:38:04 UTC
Has anything been done about this?
Comment 2 Chris Wilson 2014-01-10 15:56:26 UTC
We've identified the breakage as being introduced by Imre's sg_page_iter.
Comment 3 Daniel Vetter 2014-01-14 13:53:14 UTC
Akash Goel has the patch, but there's some review pending:

http://patchwork.freedesktop.org/patch/17588/
Comment 4 Daniel Vetter 2014-01-28 08:06:06 UTC
commit ec14ba47791965d2c08e0a681ff44eacbf3c4553
Author: Akash Goel <akash.goel@intel.com>
Date:   Mon Jan 13 16:24:45 2014 +0530

    drm/i915: Fix the offset issue for the stolen GEM objects


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.