Bug 80883 - [BSW]igt/gem_media_fill fails
Summary: [BSW]igt/gem_media_fill fails
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: All Linux (All)
: high normal
Assignee: Sean V Kelley
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-04 03:23 UTC by lu hua
Modified: 2017-10-06 14:37 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (126.38 KB, text/plain)
2014-07-04 03:23 UTC, lu hua
no flags Details
Patch for media_fill (11.99 KB, patch)
2014-07-29 00:14 UTC, Sean V Kelley
no flags Details | Splinter Review

Description lu hua 2014-07-04 03:23:32 UTC
Created attachment 102228 [details]
dmesg

System Environment:
--------------------------
Platform: Baswell
Kernel:	(drm-intel-nightly)eb638c7fabe97a9df752aeb2f59a9463ce4aed8e

Bug detailed description:
-----------------------------
It fails on Baswell with -nightly kernel.

output:
IGT-Version: 1.7-g67e29a3 (x86_64) (Linux: 3.16.0-rc2_drm-intel-nightly_eb638c_2                                                                                                 0140704+ x86_64)
Test assertion failure function scratch_buf_check, file gem_media_fill.c:97:
Last errno: 0, Success
Failed assertion: val == color
Expected 0x4c, found 0xc4 at (0,16)


Reproduce steps:
----------------------------
1. ./gem_media_fill
Comment 1 Sean V Kelley 2014-07-28 23:58:28 UTC
I have fixed this issue.  Will submit patch to intel-gfx.
Comment 2 Sean V Kelley 2014-07-29 00:14:30 UTC
Created attachment 103619 [details] [review]
Patch for media_fill
Comment 3 Sean V Kelley 2014-07-29 00:32:08 UTC
seanvk@cherryview:~/dev/intel-gpu-tools/tests$ sudo ./gem_media_fill
IGT-Version: 1.7-gd4d9fe3 (x86_64) (Linux: 3.16.0-rc2-custom x86_64)
seanvk@cherryview:~/dev/intel-gpu-tools/tests$ dmesg
--snip--
1572225.901875] gem_media_fill: executing
--snip--
Comment 4 lu hua 2014-07-29 05:56:23 UTC
(In reply to comment #2)
> Created attachment 103619 [details] [review] [review]
> Patch for media_fill


1. file: lib/intel_batchbuffer.c
igt_media_fillfunc_t igt_get_media_fillfunc(int devid)
{
        igt_media_fillfunc_t fill = NULL;

        if (IS_GEN8(devid))
                fill = gen8_media_fillfunc;
        else if (IS_GEN7(devid))
                fill = gen7_media_fillfunc;

        return fill;
}

2. lib/media_fill.c, this file doesn't exist.
Comment 5 Sean V Kelley 2014-07-29 15:00:58 UTC
See intel-gfx mailing list for latest patch.
Comment 6 Sean V Kelley 2014-08-06 21:57:42 UTC
Merged to master upstream:  17d63e49685ac51d62ba2dba80167de96e1b6c5f
Comment 7 lu hua 2014-08-08 04:31:59 UTC
Verified.Fixed.
Comment 8 Elizabeth 2017-10-06 14:37:26 UTC
Closing old verified.


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.