[Intel-gfx] [PATCH] drm/i915/kvmgt: Use struct_size() helper

2019-05-24 Thread Gustavo A. R. Silva
Make use of the struct_size() helper instead of an open-coded version in order to avoid any potential type mistakes, in particular in the context in which this code is being used. So, replace the following form: sizeof(*sparse) + (nr_areas * sizeof(*sparse->areas) with: struct_size(sparse, area

Re: [Intel-gfx] [PATCH v4 12/22] drm/i915/huc: Define HuC firmware version for Geminilake

2019-05-24 Thread Srivatsa, Anusha
>-Original Message- >From: Wajdeczko, Michal >Sent: Thursday, May 23, 2019 4:31 PM >To: intel-gfx@lists.freedesktop.org >Cc: Wajdeczko, Michal ; Ceraolo Spurio, Daniele >; Joonas Lahtinen >; Srivatsa, Anusha >; Ye, Tony >Subject: [PATCH v4 12/22] drm/i915/huc: Define HuC firmware version

[Intel-gfx] [PULL] drm-intel-next

2019-05-24 Thread Jani Nikula
r you to fetch changes up to c0a74c732568ad347f7b3de281922808dab30504: drm/i915: Update DRIVER_DATE to 20190524 (2019-05-24 20:35:22 +0300) Features: - Engine discovery query (Tvrtko) - Support for DP YCbCr4:2:0 outputs (Gwan-

Re: [Intel-gfx] [RFC 1/3] kbuild: add support for ensuring headers are self-contained

2019-05-24 Thread Sam Ravnborg
Hi Jani > Sometimes it's useful to be able to explicitly ensure certain headers > remain self-contained, i.e. that they are compilable as standalone > units, by including and/or forward declaring everything they depend on. > > Add special target header-test-y where individual Makefiles can add >

[Intel-gfx] [PATCH 1/2] drm/i915: Make intel_fuzzy_clock_check available outside of intel_display.c

2019-05-24 Thread Hans de Goede
The next patch in this series uses intel_fuzzy_clock_check from the vlv_dsi.c code. Signed-off-by: Hans de Goede --- drivers/gpu/drm/i915/intel_display.c | 2 +- drivers/gpu/drm/i915/intel_drv.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_d

[Intel-gfx] [PATCH 2/2] drm/i915/dsi: Use a fuzzy check for burst mode clock check

2019-05-24 Thread Hans de Goede
Prior to this commit we fail to init the DSI panel on the GPD MicroPC: https://www.indiegogo.com/projects/gpd-micropc-6-inch-handheld-industry-laptop#/ The problem is intel_dsi_vbt_init() failing with the following error: *ERROR* Burst mode freq is less than computed The pclk in the VBT panel mod

Re: [Intel-gfx] [PATCH] drm/i915: Tune down link train error messages due to IO failure

2019-05-24 Thread Manasi Navare
On Fri, May 24, 2019 at 07:49:07PM +0300, Imre Deak wrote: > On Fri, May 24, 2019 at 07:27:54PM +0300, Martin Peres wrote: > > On 23/05/2019 16:08, Imre Deak wrote: > > > An IO failure happens if the sink is unplugged. This scenario shouldn't > > > be logged with error level, since it is not a user

[Intel-gfx] [PATCH] drm/i915: make REG_BIT() and REG_GENMASK() work with variables

2019-05-24 Thread Jani Nikula
REG_BIT() and REG_GENMASK() were intended to work with both constant expressions and otherwise, with the former having extra compile time checks for the bit ranges. Incredibly, the result of __builtin_constant_p() is not an integer constant expression when given a non-constant expression, leading t

Re: [Intel-gfx] [PATCH] drm/i915: Tune down link train error messages due to IO failure

2019-05-24 Thread Imre Deak
On Fri, May 24, 2019 at 11:32:36AM -0700, Manasi Navare wrote: > On Fri, May 24, 2019 at 07:49:07PM +0300, Imre Deak wrote: > > On Fri, May 24, 2019 at 07:27:54PM +0300, Martin Peres wrote: > > > On 23/05/2019 16:08, Imre Deak wrote: > > > > An IO failure happens if the sink is unplugged. This scen

Re: [Intel-gfx] [PATCH] drm/i915: make REG_BIT() and REG_GENMASK() work with variables

2019-05-24 Thread Chris Wilson
Quoting Jani Nikula (2019-05-24 19:52:53) > REG_BIT() and REG_GENMASK() were intended to work with both constant > expressions and otherwise, with the former having extra compile time > checks for the bit ranges. Incredibly, the result of > __builtin_constant_p() is not an integer constant expressi

Re: [Intel-gfx] [PATCH] drm/i915: Enable eLLC caching of display buffers for SKL+

2019-05-24 Thread Chris Wilson
Quoting Ville Syrjala (2019-04-15 15:16:41) > From: Ville Syrjälä > > Since SKL the eLLC has been sitting on the far side of the system > agent, meaning the display engine can utilize it. Let's enable that. > > I chose WB for the caching mode, because my numbers are indicating > that WT might ac

[Intel-gfx] [PATCH][next] drm/i915/gtt: set err to -ENOMEM on memory allocation failure

2019-05-24 Thread Colin King
From: Colin Ian King Currently when the allocation of ppgtt->work fails the error return path via err_free returns an uninitialized value in err. Fix this by setting err to the appropriate error return of -ENOMEM. Addresses-Coverity: ("Uninitialized scalar variable") Fixes: d3622099c76f ("drm/i9

Re: [Intel-gfx] [PATCH][next] drm/i915/gtt: set err to -ENOMEM on memory allocation failure

2019-05-24 Thread Chris Wilson
Quoting Colin King (2019-05-24 22:26:27) > From: Colin Ian King > > Currently when the allocation of ppgtt->work fails the error return > path via err_free returns an uninitialized value in err. Fix this > by setting err to the appropriate error return of -ENOMEM. > > Addresses-Coverity: ("Unini

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915/gtt: Always acquire struct_mutex for gen6_ppgtt_cleanup

2019-05-24 Thread Patchwork
== Series Details == Series: drm/i915/gtt: Always acquire struct_mutex for gen6_ppgtt_cleanup URL : https://patchwork.freedesktop.org/series/61012/ State : success == Summary == CI Bug Log - changes from CI_DRM_6132_full -> Patchwork_13076_full =

Re: [Intel-gfx] [PATCH] drm/i915: Tune down link train error messages due to IO failure

2019-05-24 Thread Manasi Navare
On Fri, May 24, 2019 at 10:04:10PM +0300, Imre Deak wrote: > On Fri, May 24, 2019 at 11:32:36AM -0700, Manasi Navare wrote: > > On Fri, May 24, 2019 at 07:49:07PM +0300, Imre Deak wrote: > > > On Fri, May 24, 2019 at 07:27:54PM +0300, Martin Peres wrote: > > > > On 23/05/2019 16:08, Imre Deak wrote

Re: [Intel-gfx] [PATCH] drm/i915/dsi: Use a fuzzy check for burst mode clock check

2019-05-24 Thread kbuild test robot
Hi Hans, I love your patch! Perhaps something to improve: [auto build test WARNING on drm-intel/for-linux-next] [also build test WARNING on v5.2-rc1 next-20190524] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com

Re: [Intel-gfx] [PATCH] drm/i915/dsi: Use a fuzzy check for burst mode clock check

2019-05-24 Thread kbuild test robot
Hi Hans, I love your patch! Yet something to improve: [auto build test ERROR on drm-intel/for-linux-next] [also build test ERROR on v5.2-rc1 next-20190524] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci

[Intel-gfx] [PATCH] drm/i915/ehl: Introduce Mule Creek Canyon PCH

2019-05-24 Thread Matt Roper
Although EHL introduces a new PCH, the South Display part of the PCH that we care about is nearly identical to ICP, just with some pins remapped. Most notably, Port C is mapped to the pins that ICP uses for TC Port 1. Signed-off-by: Matt Roper --- drivers/gpu/drm/i915/i915_drv.c | 8

[Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [01/10] drm/i915/dmc: use kernel types

2019-05-24 Thread Patchwork
== Series Details == Series: series starting with [01/10] drm/i915/dmc: use kernel types URL : https://patchwork.freedesktop.org/series/61016/ State : success == Summary == CI Bug Log - changes from CI_DRM_6132_full -> Patchwork_13077_full

Re: [Intel-gfx] [PATCH v4 21/22] drm/i915/huc: Define HuC firmware version for Icelake

2019-05-24 Thread Ye, Tony
Reviewed-by: Tony Ye > 在 2019年5月24日,上午7:32,Wajdeczko, Michal 写道: > > Define HuC firmware version for Icelake. > > Signed-off-by: Michal Wajdeczko > Cc: Daniele Ceraolo Spurio > Cc: Joonas Lahtinen > Cc: Anusha Srivatsa > Cc: Tony Ye > > v2: 8.4.3238 is now available > --- > drivers/gpu/d

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: timeline semaphore support

2019-05-24 Thread Patchwork
== Series Details == Series: drm/i915: timeline semaphore support URL : https://patchwork.freedesktop.org/series/61032/ State : success == Summary == CI Bug Log - changes from CI_DRM_6132_full -> Patchwork_13078_full Summary --- **SU

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Tune down link train error messages due to IO failure

2019-05-24 Thread Patchwork
== Series Details == Series: drm/i915: Tune down link train error messages due to IO failure URL : https://patchwork.freedesktop.org/series/61039/ State : success == Summary == CI Bug Log - changes from CI_DRM_6132_full -> Patchwork_13079_full ==

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915: Keep user GGTT alive for a minimum of 250ms (rev2)

2019-05-24 Thread Patchwork
== Series Details == Series: drm/i915: Keep user GGTT alive for a minimum of 250ms (rev2) URL : https://patchwork.freedesktop.org/series/61047/ State : failure == Summary == CI Bug Log - changes from CI_DRM_6132_full -> Patchwork_13081_full

[Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [v4,1/2] drm/i915/gtt: grab wakeref in gen6_alloc_va_range

2019-05-24 Thread Patchwork
== Series Details == Series: series starting with [v4,1/2] drm/i915/gtt: grab wakeref in gen6_alloc_va_range URL : https://patchwork.freedesktop.org/series/61055/ State : success == Summary == CI Bug Log - changes from CI_DRM_6133_full -> Patchwork_13083_full =

<    1   2