[Intel-gfx] [PATCH] drm/i915/selftests: Magic numbers for old Y-tiling

2018-07-07 Thread Chris Wilson
i915g has a slightly different tiling layout, and so requires a different reference swizzle pattern. Testcase: igt/drv_selftests/live_objects #gdg Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/selftests/i915_gem_object.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) d

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/selftests: Magic numbers for old Y-tiling

2018-07-07 Thread Patchwork
== Series Details == Series: drm/i915/selftests: Magic numbers for old Y-tiling URL : https://patchwork.freedesktop.org/series/46114/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4451 -> Patchwork_9582 = == Summary - SUCCESS == No regressions found. External URL: ht

[Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [1/2] drm/i915/gtt: Suppress warnings for dma_map_page

2018-07-07 Thread Patchwork
== Series Details == Series: series starting with [1/2] drm/i915/gtt: Suppress warnings for dma_map_page URL : https://patchwork.freedesktop.org/series/46072/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4446_full -> Patchwork_9567_full = == Summary - WARNING == Minor

[Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [1/6] drm/i915: Refactor export_fence() after i915_vma_move_to_active() (rev2)

2018-07-07 Thread Patchwork
== Series Details == Series: series starting with [1/6] drm/i915: Refactor export_fence() after i915_vma_move_to_active() (rev2) URL : https://patchwork.freedesktop.org/series/46067/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4446_full -> Patchwork_9568_full = == Summar

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915/selftests: Limit live_gtt allocation test to fit within RAM

2018-07-07 Thread Patchwork
== Series Details == Series: drm/i915/selftests: Limit live_gtt allocation test to fit within RAM URL : https://patchwork.freedesktop.org/series/46075/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4446_full -> Patchwork_9569_full = == Summary - WARNING == Minor unknown

[Intel-gfx] ✗ Fi.CI.IGT: failure for series starting with [1/2] drm/i915/selftests: Replace magic 1<<22 with MI_USE_GGTT/MI_MEM_VIRTUAL

2018-07-07 Thread Patchwork
== Series Details == Series: series starting with [1/2] drm/i915/selftests: Replace magic 1<<22 with MI_USE_GGTT/MI_MEM_VIRTUAL URL : https://patchwork.freedesktop.org/series/46078/ State : failure == Summary == = CI Bug Log - changes from CI_DRM_4446_full -> Patchwork_9570_full = == Summary

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915/gen11: Preempt-to-idle support in execlists. (rev5)

2018-07-07 Thread Patchwork
== Series Details == Series: drm/i915/gen11: Preempt-to-idle support in execlists. (rev5) URL : https://patchwork.freedesktop.org/series/40747/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4446_full -> Patchwork_9572_full = == Summary - WARNING == Minor unknown changes

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915/selftests: Adjust y-tiling height for older machines

2018-07-07 Thread Patchwork
== Series Details == Series: drm/i915/selftests: Adjust y-tiling height for older machines URL : https://patchwork.freedesktop.org/series/46084/ State : failure == Summary == = CI Bug Log - changes from CI_DRM_4448_full -> Patchwork_9573_full = == Summary - FAILURE == Serious unknown chang

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915/selftests: Provide full mb() around clflush

2018-07-07 Thread Patchwork
== Series Details == Series: drm/i915/selftests: Provide full mb() around clflush URL : https://patchwork.freedesktop.org/series/46085/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4448_full -> Patchwork_9574_full = == Summary - WARNING == Minor unknown changes coming w

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Fix assert_plane() warning on bootup with external display (rev8)

2018-07-07 Thread Patchwork
== Series Details == Series: drm/i915: Fix assert_plane() warning on bootup with external display (rev8) URL : https://patchwork.freedesktop.org/series/44909/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4448_full -> Patchwork_9576_full = == Summary - WARNING == Minor

[Intel-gfx] ✓ Fi.CI.IGT: success for Make the "Reducing compressed framebufer size" message be DRM_INFO_ONCE()

2018-07-07 Thread Patchwork
== Series Details == Series: Make the "Reducing compressed framebufer size" message be DRM_INFO_ONCE() URL : https://patchwork.freedesktop.org/series/46092/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4448_full -> Patchwork_9577_full = == Summary - WARNING == Minor un

[Intel-gfx] [PATCH i-g-t 0/7] GCC warning cleanup

2018-07-07 Thread Rodrigo Siqueira
This patchset fixes all the current GCC 8.1.1 warnings found in the IGT. Rodrigo Siqueira (7): Remove parameter aliases with another argument Cast void * pointer used in arithmetic to uint32_t* Fix comparison that always evaluates to false Fix truncate string in the snprintf Make string

[Intel-gfx] [PATCH i-g-t 1/7] Remove parameter aliases with another argument

2018-07-07 Thread Rodrigo Siqueira
This commit fixes the following GCC warning: warning: passing argument 2 to restrict-qualified parameter aliases with argument 1 [-Wrestrict] return (readlink (buf, buf, sizeof (buf)) != -1 && This commit fixes the GCC warning by creating a second buffer only to keep the path. Signed-off-by: R

[Intel-gfx] [PATCH i-g-t 2/7] Cast void * pointer used in arithmetic to uint32_t*

2018-07-07 Thread Rodrigo Siqueira
This commit fixes the GCC warning: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] memset(ptr + offsets[0], full_range ? 0x00 : 0x10, ^ warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] memset(ptr + offsets[1], 0x80, This commi

[Intel-gfx] [PATCH i-g-t 4/7] Fix truncate string in the snprintf

2018-07-07 Thread Rodrigo Siqueira
This patch fix the following GCC warning: intel_reg.c: In function ‘dump_decode’: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] snprintf(decode, sizeof(decode), "\n%s", bin); intel_reg.c:203:3: note: ‘snprintf’ output between 2 and 1025 byt

[Intel-gfx] [PATCH i-g-t 3/7] Fix comparison that always evaluates to false

2018-07-07 Thread Rodrigo Siqueira
This commit fix the GCC warning: warning: bitwise comparison always evaluates to false [-Wtautological-compare] } else if ((val & DPLLB_MODE_LVDS) == DPLLB_MODE_DAC_SERIAL) { The first comparison already checks DPLLB_MODE_LVDS, in this sense, the second 'if' condition always will be false. This

[Intel-gfx] [PATCH i-g-t 5/7] Make string commands dynamic allocate

2018-07-07 Thread Rodrigo Siqueira
This patch fix the following GCC warning: intel_gvtg_test.c: In function ‘create_guest’: intel_gvtg_test.c:127:50: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4077 [-Wformat-overflow=] [..] intel_gvtg_test.c:127:5: note: ‘sprintf’ output between 36 and 8226 bytes into a

[Intel-gfx] [PATCH i-g-t 6/7] Fix truncate string in the strncpy

2018-07-07 Thread Rodrigo Siqueira
This patch fix the following GCC Warnings: warning: ‘strncpy’ output truncated before terminating nul copying 36 bytes from a string of the same length [-Wstringop-truncation] [..] Signed-off-by: Rodrigo Siqueira --- tests/perf.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-)

[Intel-gfx] [PATCH i-g-t 7/7] Avoid truncate string in __igt_lsof_fds

2018-07-07 Thread Rodrigo Siqueira
Note that 'proc_path' parameter in __igt_lsof_fds receives a string which was initialized with the size of PATH_MAX and the local variable 'path' has the same size, but it also have to append: '/', '\0', and the directory name. This situation caused the warning described below. warning: ‘%s’ direc

[Intel-gfx] [PATCH i-g-t 0/2] Add support to force specific module load

2018-07-07 Thread Rodrigo Siqueira
This patchset adds support for forcing a specific module to be loaded via command line. This feature can bring benefits for developers that need to create a new module since they can use IGT as a base test to guide their development (Test-driven development - TDD ). The first patch, expand the size

[Intel-gfx] [PATCH i-g-t 1/2] Increase the string size for a module name

2018-07-07 Thread Rodrigo Siqueira
Some modules name are larger than 5 characters, this can be a problem to add support for other modules. This patch, increase the maximum size in order to enable other modules to use IGT. Signed-off-by: Rodrigo Siqueira --- lib/drmtest.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-)

[Intel-gfx] [PATCH i-g-t 2/2] Add support for forcing specific module

2018-07-07 Thread Rodrigo Siqueira
This commit adds a new option for forcing the use of a specific module indicated via command line. The force command expects a module name which will be used on the target test (changing the standard behavior). Signed-off-by: Rodrigo Siqueira --- lib/drmtest.c| 33 ++

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915/selftests: Avoid warning if runtime pm is disabled

2018-07-07 Thread Patchwork
== Series Details == Series: drm/i915/selftests: Avoid warning if runtime pm is disabled URL : https://patchwork.freedesktop.org/series/46101/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4449_full -> Patchwork_9578_full = == Summary - WARNING == Minor unknown changes c

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Replace nested subclassing with explicit subclasses

2018-07-07 Thread Patchwork
== Series Details == Series: drm/i915: Replace nested subclassing with explicit subclasses URL : https://patchwork.freedesktop.org/series/46103/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4449_full -> Patchwork_9579_full = == Summary - WARNING == Minor unknown changes

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915: Use crtc_state->has_psr instead of CAN_PSR for pipe update

2018-07-07 Thread Patchwork
== Series Details == Series: drm/i915: Use crtc_state->has_psr instead of CAN_PSR for pipe update URL : https://patchwork.freedesktop.org/series/46104/ State : failure == Summary == = CI Bug Log - changes from CI_DRM_4449_full -> Patchwork_9580_full = == Summary - FAILURE == Serious unknow

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915/selftests: Magic numbers for old Y-tiling

2018-07-07 Thread Patchwork
== Series Details == Series: drm/i915/selftests: Magic numbers for old Y-tiling URL : https://patchwork.freedesktop.org/series/46114/ State : failure == Summary == = CI Bug Log - changes from CI_DRM_4451_full -> Patchwork_9582_full = == Summary - FAILURE == Serious unknown changes coming w