Open Bug 1085364 Opened 10 years ago Updated 2 years ago

Intel HD4000 not in the blacklist code?

Categories

(Core :: Graphics, defect)

x86_64
Linux
defect

Tracking

()

People

(Reporter: nical, Unassigned)

References

Details

(Whiteboard: [platform-rel-Intel])

Attachments

(1 file)

the enumeration of intel device family doesn't contain IntelHD4000, here:
http://dxr.mozilla.org/mozilla-central/source/widget/xpwidgets/GfxDriverInfo.h#61

and in the .cpp, the code that associates device ids with families doesn't mention the device id 0x0166 (which is HD4000). I am new to the blacklisting business so maybe it isn't big deal, but in light of our current 33 release craziness I'd rather make sure we don't miss some faulty drivers.
Not sure if it's what we should do or not
Comment on attachment 8507882 [details] [diff] [review]
add hd4000 to the device families

Review of attachment 8507882 [details] [diff] [review]:
-----------------------------------------------------------------

::: widget/xpwidgets/GfxDriverInfo.cpp
@@ +168,5 @@
>      case IntelHD3000:
>        APPEND_DEVICE(0x0126);
>        break;
> +    case IntelHD4000:
> +      APPEND_DEVICE(0x0166);

Is this a place where we append all the devices we know of, or just the ones which we have had issues with? Looking on the web for other hd4000 device ids I found 0x0162 too.
Comment on attachment 8507882 [details] [diff] [review]
add hd4000 to the device families

Review of attachment 8507882 [details] [diff] [review]:
-----------------------------------------------------------------

Jeff you names shows up here and there in GfxInfo.cpp (hg blame) so you get to review this (unless you can find a better person to do the review)
Attachment #8507882 - Flags: review?(jmuizelaar)
Comment on attachment 8507882 [details] [diff] [review]
add hd4000 to the device families

Review of attachment 8507882 [details] [diff] [review]:
-----------------------------------------------------------------

Whoever can review this first or even if you want to pair-review it. Mind you that I don't know all of this and that if this patch happens to be correct we would consider adding it to the next chemspill release...
Attachment #8507882 - Flags: review?(bjacob)
Comment on attachment 8507882 [details] [diff] [review]
add hd4000 to the device families

Review of attachment 8507882 [details] [diff] [review]:
-----------------------------------------------------------------

::: widget/xpwidgets/GfxDriverInfo.cpp
@@ +168,5 @@
>      case IntelHD3000:
>        APPEND_DEVICE(0x0126);
>        break;
> +    case IntelHD4000:
> +      APPEND_DEVICE(0x0166);

It's hard to say. This code has seen enough iteration and is somewhat ownerless so there's no longer really a vision for what it should be. It's worth noting that there's already duplication of device ID's between families. What is the intended use for this entry?
Attachment #8507882 - Flags: review?(jmuizelaar) → review-
(In reply to Nicolas Silva [:nical] from comment #2)
> Comment on attachment 8507882 [details] [diff] [review]
> add hd4000 to the device families
> 
> Review of attachment 8507882 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> ::: widget/xpwidgets/GfxDriverInfo.cpp
> @@ +168,5 @@
> >      case IntelHD3000:
> >        APPEND_DEVICE(0x0126);
> >        break;
> > +    case IntelHD4000:
> > +      APPEND_DEVICE(0x0166);
> 
> Is this a place where we append all the devices we know of, or just the ones
> which we have had issues with? Looking on the web for other hd4000 device
> ids I found 0x0162 too.

I have a 0x0162 and the problem doesn't happen there. It might be better to block based on device id instead of family.
Comment on attachment 8507882 [details] [diff] [review]
add hd4000 to the device families

Cancelling review request until jeff's concerns are dealt with.
Attachment #8507882 - Flags: review?(bjacob)
Seems like we should have a solution where we can downloadable blacklist a device family our software doesn't know about?  Separate bug, I guess, or part of bug 838845.
Whiteboard: [platform-rel-Intel]
platform-rel: --- → ?
platform-rel: ? → ---
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: