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

Alex Deucher alexdeucher at gmail.com
Tue Jan 3 08:28:00 PST 2012


Sorry, ignore this one for now.

Alex

On Tue, Jan 3, 2012 at 11:19 AM,  <alexdeucher at gmail.com> wrote:
> From: Alex Deucher <alexander.deucher at amd.com>
>
> vbios is missing a ddc entry for the DVI-D port.
> Reported by ponyofdeath on IRC.
>
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
> Cc: stable at vger.kernel.org
> ---
>  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
>


More information about the dri-devel mailing list