Re: [PATCH] drm/radeon/kms: Add DDC quirk for ASUS RS400

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorry, ignore this one for now.

Alex

On Tue, Jan 3, 2012 at 11:19 AM,  <alexdeucher@xxxxxxxxx> wrote:
> From: Alex Deucher <alexander.deucher@xxxxxxx>
>
> vbios is missing a ddc entry for the DVI-D port.
> Reported by ponyofdeath on IRC.
>
> Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx
> ---
>  drivers/gpu/drm/radeon/radeon_combios.c |    9 +++++++++
>  1 files changed, 9 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/radeon_combios.c b/drivers/gpu/drm/radeon/radeon_combios.c
> index 81fc100..b9ad45e 100644
> --- a/drivers/gpu/drm/radeon/radeon_combios.c
> +++ b/drivers/gpu/drm/radeon/radeon_combios.c
> @@ -2152,6 +2152,7 @@ static bool radeon_apply_legacy_quirks(struct drm_device *dev,
>                                       struct radeon_i2c_bus_rec *ddc_i2c,
>                                       struct radeon_hpd *hpd)
>  {
> +       struct radeon_device *rdev = dev->dev_private;
>
>        /* Certain IBM chipset RN50s have a BIOS reporting two VGAs,
>           one with VGA DDC and one with CRT2 DDC. - kill the CRT2 DDC one */
> @@ -2170,6 +2171,14 @@ static bool radeon_apply_legacy_quirks(struct drm_device *dev,
>                        return false;
>        }
>
> +       /* ASUS RS400 system with missing DVI port DDC */
> +       if (dev->pdev->device == 0x5A41 &&
> +           dev->pdev->subsystem_vendor == 0x1043 &&
> +           dev->pdev->subsystem_device == 0x81C8) {
> +               if (*legacy_connector == CONNECTOR_DVI_D_LEGACY)
> +                       *ddc_i2c = combios_setup_i2c_bus(rdev, DDC_MONID, 0, 0);
> +       }
> +
>        return true;
>  }
>
> --
> 1.7.3.4
>
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux