[Intel-gfx] Adding a i915 quirk (here: pipe A force quirk for testing purposes)?

Sedat Dilek sedat.dilek at gmail.com
Mon Jan 28 07:20:38 PST 2013


On Mon, Jan 28, 2013 at 4:01 PM, Jani Nikula
<jani.nikula at linux.intel.com> wrote:
> On Mon, 28 Jan 2013, Sedat Dilek <sedat.dilek at gmail.com> wrote:
>> ...
>> static struct intel_quirk intel_quirks[] = {
>>       /* HP Mini needs pipe A force quirk (LP: #322104) */
>>       { 0x27ae, 0x103c, 0x361a, quirk_pipea_force },
>> ...
>> }
>>
>> Triple - which value is what?
>
> I guess you figured it out, but just a few lines up there's [1]:
>
> struct intel_quirk {
>         int device;
>         int subsystem_vendor;
>         int subsystem_device;
>         void (*hook)(struct drm_device *dev);
> };
>
> where device, subsystem_vendor, and subsystem_device map to Device,
> SVendor, and SDevice of the gfx controller in 'lspci -vmnn' output.
>

Oh, cool.
Did not know of these parameters...

Device: 00:02.0
Class:  VGA compatible controller [0300]
Vendor: Intel Corporation [8086]
Device: 2nd Generation Core Processor Family Integrated Graphics
Controller [0116]
SVendor:        Samsung Electronics Co Ltd [144d]
SDevice:        Device [c0c7]
Rev:    09

...together with the pasted code-snippet, it is clear to me!

Thanks for the explanation and hints!

- Sedat -

> HTH,
> Jani.
>
> [1] http://cgit.freedesktop.org/~danvet/drm-intel/tree/drivers/gpu/drm/i915/intel_display.c?h=drm-intel-nightly#n8574


More information about the dri-devel mailing list