Re: patch: fix inteldrm for Intel P4000 graphics

2017-07-06 Thread Joe Gidi
>> Date: Tue, 4 Jul 2017 17:24:27 -0400
>> From: "Joe Gidi" 
>>
>> I have a machine with a Xeon E3-1225v2 CPU, which includes integrated
>> Intel P4000 graphics. This required a patch back in 2015 to avoid
>> matching
>> on the mythical "Intel Quanta Transcode" device, which kettenis@
>> committed
>> here:
>>
>> http://marc.info/?l=openbsd-cvs=144342287923444=2
>>
>> The recent update to inteldrm broke X on this system, because this patch
>> got lost.
>>
>> The patch below has been tested and restores inteldrm functionality with
>> P4000 graphics.
>
> Thanks.  Fixed this in a different way such that it hopefully doesn't
> happen again.  Can you let me know if the problem persists?

The fix you committed is working for me. Thank you!

-- 

Joe Gidi
j...@entropicblur.com

"You cannot buy skill." -- Ross Seyfried



Re: patch: fix inteldrm for Intel P4000 graphics

2017-07-04 Thread Mark Kettenis
> Date: Tue, 4 Jul 2017 17:24:27 -0400
> From: "Joe Gidi" 
> 
> I have a machine with a Xeon E3-1225v2 CPU, which includes integrated
> Intel P4000 graphics. This required a patch back in 2015 to avoid matching
> on the mythical "Intel Quanta Transcode" device, which kettenis@ committed
> here:
> 
> http://marc.info/?l=openbsd-cvs=144342287923444=2
> 
> The recent update to inteldrm broke X on this system, because this patch
> got lost.
> 
> The patch below has been tested and restores inteldrm functionality with
> P4000 graphics.

Thanks.  Fixed this in a different way such that it hopefully doesn't
happen again.  Can you let me know if the problem persists?

> Index: i915_drv.c
> ===
> RCS file: /cvs/src/sys/dev/pci/drm/i915/i915_drv.c,v
> retrieving revision 1.103
> diff -u -p -u -r1.103 i915_drv.c
> --- i915_drv.c1 Jul 2017 16:14:10 -   1.103
> +++ i915_drv.c4 Jul 2017 21:13:48 -
> @@ -424,7 +424,6 @@ static const struct intel_device_info in
>   INTEL_IRONLAKE_M_IDS(_ironlake_m_info),   \
>   INTEL_SNB_D_IDS(_sandybridge_d_info), \
>   INTEL_SNB_M_IDS(_sandybridge_m_info), \
> - INTEL_IVB_Q_IDS(_ivybridge_q_info), /* must be first IVB */ \
>   INTEL_IVB_M_IDS(_ivybridge_m_info),   \
>   INTEL_IVB_D_IDS(_ivybridge_d_info),   \
>   INTEL_HSW_D_IDS(_haswell_d_info), \
> 
> 
> 
>