[PATCH] DRM/Radeon: Fix Load Detection on legacy primary DAC.
Alex Deucher
alexdeucher at gmail.com
Wed Oct 24 09:56:37 PDT 2012
On Wed, Oct 24, 2012 at 12:29 PM, Egbert Eich <eich at suse.de> wrote:
> An uninitialized variable led to broken load detection.
Looks good. Added to by -fixes queue.
Thanks!
Alex
>
> Signed-off-by: Egbert Eich <eich at suse.de>
> ---
> drivers/gpu/drm/radeon/radeon_legacy_encoders.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/radeon_legacy_encoders.c b/drivers/gpu/drm/radeon/radeon_legacy_encoders.c
> index 2630e4e..752e98b 100644
> --- a/drivers/gpu/drm/radeon/radeon_legacy_encoders.c
> +++ b/drivers/gpu/drm/radeon/radeon_legacy_encoders.c
> @@ -668,6 +668,7 @@ static enum drm_connector_status radeon_legacy_primary_dac_detect(struct drm_enc
> tmp |= RADEON_DAC_RANGE_CNTL_PS2 | RADEON_DAC_CMP_EN;
> WREG32(RADEON_DAC_CNTL, tmp);
>
> + tmp = dac_macro_cntl;
> tmp &= ~(RADEON_DAC_PDWN_R |
> RADEON_DAC_PDWN_G |
> RADEON_DAC_PDWN_B);
> --
> 1.7.6.3
>
More information about the dri-devel
mailing list