[Bug 96473] i915.ko corrupt text lines at top, [drm] GPU HANG: ecode 2:0:0x037fffc1, reason: Ring hung

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jun 12 06:42:44 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=96473

--- Comment #10 from Taketo Kabe <fdporg at vega.pgw.jp> ---
temp patch of Comment 9 worked! Clean native resolution text console.

Now how should we implement this properly?
82865G is Gen 2;
The switch-case in i915_gem_init_stolen() for 82865G goes to

        switch (INTEL_INFO(dev_priv)->gen) {
        case 2:
        case 3:
                break;

which leaves reserved_base variable uninitialized (=0),
and screwing up the rest.

Also at the end of i915_gem_init_stolen() says
        /*
         * Basic memrange allocator for stolen space.
         *
         * TODO: Notice that some platforms require us to not use the first
page
         * of the stolen memory but their BIOSes may still put the framebuffer
         * on the first page. So we don't reserve this page for now because of
         * that. Our current solution is to just prevent new nodes from being
         * inserted on the first page - see the check we have at
         * i915_gem_stolen_insert_node_in_range(). We may want to fix the fbcon
         * problem later.
         */
        drm_mm_init(&dev_priv->mm.stolen, 0, dev_priv->gtt.stolen_usable_size);

so I may have stumped apon a hot spot.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20160612/77f35a9f/attachment-0001.html>


More information about the intel-gfx-bugs mailing list