Re: [Intel-gfx] i915: v5.10.23: kernel hangs at boot when external monitor is connected?!

2021-03-21 Thread Imre Deak
Hi, On Sun, Mar 21, 2021 at 12:44:24PM +0100, Thomas Meyer wrote: > Hi, > > when booting with an external monitor connected the boot process seems to stop > in the kernel. No additional output is show, it just hangs. > > kernel is 5.10.23 and driver is i915. When unplugging and reset computer, t

Re: [Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915/hdcp: mst streams type1 capability check (rev2)

2021-03-21 Thread Gupta, Anshuman
Below CI-IGT failures are unrelated Pushed to drm-intel-next. > -Original Message- > From: Anshuman Gupta > Sent: Monday, March 22, 2021 10:49 AM > To: intel-gfx@lists.freedesktop.org; Vudum, Lakshminarayana > > Subject: Re: ✗ Fi.CI.IGT: failure for drm/i915/hdcp: mst streams type1 > ca

[Intel-gfx] [PATCH 5/7] drm/i915/display: Extract ilk_read_csc()

2021-03-21 Thread Bhanuprakash Modem
For ilk+, add hw read out to create hw blob of ctm coeff values. Cc: Swati Sharma Cc: Uma Shankar Signed-off-by: Bhanuprakash Modem --- drivers/gpu/drm/i915/display/intel_color.c | 52 ++ 1 file changed, 52 insertions(+) diff --git a/drivers/gpu/drm/i915/display/intel_colo

[Intel-gfx] [PATCH 6/7] drm/i915/display: Extract icl_read_csc()

2021-03-21 Thread Bhanuprakash Modem
For icl+, add hw read out to create hw blob of ctm coeff values. Cc: Swati Sharma Cc: Uma Shankar Signed-off-by: Bhanuprakash Modem --- drivers/gpu/drm/i915/display/intel_color.c | 55 ++ 1 file changed, 55 insertions(+) diff --git a/drivers/gpu/drm/i915/display/intel_colo

[Intel-gfx] [PATCH 4/7] drm/i915/display: Extract chv_read_csc()

2021-03-21 Thread Bhanuprakash Modem
For Cherryview, add hw read out to create hw blob of ctm coeff values. Cc: Swati Sharma Cc: Uma Shankar Signed-off-by: Bhanuprakash Modem --- drivers/gpu/drm/i915/display/intel_color.c | 47 ++ 1 file changed, 47 insertions(+) diff --git a/drivers/gpu/drm/i915/display/inte

[Intel-gfx] [PATCH 7/7] FOR_TESTING_ONLY: Print coeffs of hw and sw CTM

2021-03-21 Thread Bhanuprakash Modem
Signed-off-by: Bhanuprakash Modem --- drivers/gpu/drm/i915/display/intel_color.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/i915/display/intel_color.c b/drivers/gpu/drm/i915/display/intel_color.c index 8f9727553c45..caf4c3442b9e 100644 --- a/drivers/gpu/drm/i915/dis

[Intel-gfx] [PATCH 3/7] drm/i915/display: Add macro to compare hw/sw CSC matrix

2021-03-21 Thread Bhanuprakash Modem
Add macro to compare hw/sw CSC coeff values. First need to check whether hw/sw csc enable and csc mode matches or not. If not no need to compare coeff values, if matches then only compare. Cc: Swati Sharma Cc: Uma Shankar Signed-off-by: Bhanuprakash Modem --- drivers/gpu/drm/i915/display/intel

[Intel-gfx] [PATCH 2/7] drm/i915/display: Add func to compare hw/sw CSC matrix

2021-03-21 Thread Bhanuprakash Modem
Add func intel_csc_equal() to compare hw/sw CSC coeff values. Cc: Swati Sharma Cc: Uma Shankar Signed-off-by: Bhanuprakash Modem --- drivers/gpu/drm/i915/display/intel_color.c | 51 +++--- drivers/gpu/drm/i915/display/intel_color.h | 3 ++ 2 files changed, 47 insertions(+), 7

[Intel-gfx] [PATCH 1/7] drm/i915/display: Introduce vfunc read_csc() to create hw ctm

2021-03-21 Thread Bhanuprakash Modem
In this patch, a vfunc read_csc() is introduced to create a hw ctm i.e. ctm having values read from CSC registers which will later be used to compare with sw ctm to validate CSC coeff values. Cc: Swati Sharma Cc: Uma Shankar Signed-off-by: Bhanuprakash Modem --- drivers/gpu/drm/i915/display/in

[Intel-gfx] [PATCH 0/7] drm/i915: Add state checker for CSC coeff values

2021-03-21 Thread Bhanuprakash Modem
In this patch series, added state checker to validate CSC. This reads hardware state, and compares the originally requested state(s/w). This is done for chv, ilk, glk and their variant platforms. Rest of the platforms will be enabled on top of this later. Signed-off-by: Bhanuprakash Modem Bhanup

Re: [Intel-gfx] [PATCH v3 3/3] drm/i915/display: Configure HDMI2.1 Pcon for FRL only if Src-Ctl mode is available

2021-03-21 Thread Shankar, Uma
> -Original Message- > From: Nautiyal, Ankit K > Sent: Tuesday, March 9, 2021 10:09 AM > To: intel-gfx@lists.freedesktop.org > Cc: dri-de...@lists.freedesktop.org; ville.syrj...@linux.intel.com; Shankar, > Uma > ; airl...@linux.ie; jani.nik...@linux.intel.com > Subject: [PATCH v3 3/3]

Re: [Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915/hdcp: mst streams type1 capability check (rev2)

2021-03-21 Thread Anshuman Gupta
On 2021-03-19 at 13:26:16 +, Patchwork wrote: > == Series Details == > > Series: drm/i915/hdcp: mst streams type1 capability check (rev2) > URL : https://patchwork.freedesktop.org/series/86345/ > State : failure > > == Summary == > > CI Bug Log - changes from CI_DRM_9874_full -> Patchwork_

Re: [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/hdcp: mst streams type1 capability check (rev2)

2021-03-21 Thread Gupta, Anshuman
> -Original Message- > From: Patchwork > Sent: Friday, March 19, 2021 4:25 PM > To: Gupta, Anshuman > Cc: intel-gfx@lists.freedesktop.org > Subject: ✗ Fi.CI.CHECKPATCH: warning for drm/i915/hdcp: mst streams type1 > capability check (rev2) > > == Series Details == > > Series: drm/i915

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Avoid div-by-zero on gen2

2021-03-21 Thread Patchwork
== Series Details == Series: drm/i915: Avoid div-by-zero on gen2 URL : https://patchwork.freedesktop.org/series/88217/ State : success == Summary == CI Bug Log - changes from CI_DRM_9878_full -> Patchwork_19819_full Summary --- **SUC

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Avoid div-by-zero on gen2

2021-03-21 Thread Patchwork
== Series Details == Series: drm/i915: Avoid div-by-zero on gen2 URL : https://patchwork.freedesktop.org/series/88217/ State : success == Summary == CI Bug Log - changes from CI_DRM_9878 -> Patchwork_19819 Summary --- **SUCCESS**

Re: [Intel-gfx] [PATCH] drm/i915: Avoid div-by-zero on gen2

2021-03-21 Thread Chris Wilson
Quoting Chris Wilson (2021-03-21 16:30:32) > Quoting Chris Wilson (2021-03-21 16:28:07) > > Quoting Ville Syrjala (2021-03-21 16:10:38) > > > diff --git a/drivers/gpu/drm/i915/gem/i915_gem_mman.c > > > b/drivers/gpu/drm/i915/gem/i915_gem_mman.c > > > index ec28a6cde49b..0b2434e29d00 100644 > > > -

Re: [Intel-gfx] [PATCH] drm/i915: Avoid div-by-zero on gen2

2021-03-21 Thread Chris Wilson
Quoting Chris Wilson (2021-03-21 16:28:07) > Quoting Ville Syrjala (2021-03-21 16:10:38) > > diff --git a/drivers/gpu/drm/i915/gem/i915_gem_mman.c > > b/drivers/gpu/drm/i915/gem/i915_gem_mman.c > > index ec28a6cde49b..0b2434e29d00 100644 > > --- a/drivers/gpu/drm/i915/gem/i915_gem_mman.c > > +++ b

Re: [Intel-gfx] [PATCH] drm/i915: Avoid div-by-zero on gen2

2021-03-21 Thread Chris Wilson
Quoting Ville Syrjala (2021-03-21 16:10:38) > From: Ville Syrjälä > > Gen2 tiles are 2KiB in size so i915_gem_object_get_tile_row_size() > can in fact return <4KiB, which leads to div-by-zero here. > Avoid that. So long as we overestimate it is fine, since we only care to find a suitably small c

[Intel-gfx] ✗ Fi.CI.BUILD: failure for sna: Allow DRI3 on gen2/3

2021-03-21 Thread Patchwork
== Series Details == Series: sna: Allow DRI3 on gen2/3 URL : https://patchwork.freedesktop.org/series/88216/ State : failure == Summary == Applying: sna: Allow DRI3 on gen2/3 error: sha1 information is lacking or useless (src/sna/sna_driver.c). error: could not build fake ancestor hint: Use 'g

[Intel-gfx] [PATCH] drm/i915: Avoid div-by-zero on gen2

2021-03-21 Thread Ville Syrjala
From: Ville Syrjälä Gen2 tiles are 2KiB in size so i915_gem_object_get_tile_row_size() can in fact return <4KiB, which leads to div-by-zero here. Avoid that. Not sure i915_gem_object_get_tile_row_size() is entirely sane anyway since it doesn't account for the different tile layouts on i8xx/i915.

[Intel-gfx] [PATCH xf86-video-intel] sna: Allow DRI3 on gen2/3

2021-03-21 Thread Ville Syrjala
From: Ville Syrjälä Once we have DRI3 in Mesa i915 driver we can allow DRI3 on gen2/3. But due to the supposed missing DRI2 fallback with older Mesa let's only do that if the user explicitly requests it. Note that when I tried this with modern Mesa that lacks i915 DRI3 support things seemed to f

[Intel-gfx] i915: v5.10.23: kernel hangs at boot when external monitor is connected?!

2021-03-21 Thread Thomas Meyer
Hi, when booting with an external monitor connected the boot process seems to stop in the kernel. No additional output is show, it just hangs. kernel is 5.10.23 and driver is i915. When unplugging and reset computer, the system starts normal. Any ideas what could be the culprit and what to enable