dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Christian König" <deathsimple@vodafone.de>
To: alexdeucher@gmail.com
Cc: Alex Deucher <alexander.deucher@amd.com>,
	stable@vger.kernel.org, dri-devel@lists.freedesktop.org
Subject: Re: [PATCH] drm/radeon/kms: need to set up ss on DP bridges as well
Date: Sun, 29 Apr 2012 16:08:06 +0200	[thread overview]
Message-ID: <4F9D4B46.1020609@vodafone.de> (raw)
In-Reply-To: <1335561539-2227-1-git-send-email-alexdeucher@gmail.com>

On 27.04.2012 23:18, alexdeucher@gmail.com wrote:
> From: Alex Deucher<alexander.deucher@amd.com>
>
> Makes Nutmeg DP to VGA bridges work for me.
>
> Fixes:
> https://bugs.freedesktop.org/show_bug.cgi?id=42490
>
> Noticed by Jerome Glisse
>
> Signed-off-by: Alex Deucher<alexander.deucher@amd.com>
> Cc: stable@vger.kernel.org
> ---
>   drivers/gpu/drm/radeon/atombios_crtc.c |    4 ++--
>   1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c b/drivers/gpu/drm/radeon/atombios_crtc.c
> index c5c31e0..af1054f 100644
> --- a/drivers/gpu/drm/radeon/atombios_crtc.c
> +++ b/drivers/gpu/drm/radeon/atombios_crtc.c
> @@ -958,8 +958,8 @@ static void atombios_crtc_set_pll(struct drm_crtc *crtc, struct drm_display_mode
>   		break;
>   	}
>
> -	if (radeon_encoder->active_device&
> -	    (ATOM_DEVICE_LCD_SUPPORT | ATOM_DEVICE_DFP_SUPPORT)) {
> +	if ((radeon_encoder->active_device&  (ATOM_DEVICE_LCD_SUPPORT | ATOM_DEVICE_DFP_SUPPORT)) ||
> +	    (radeon_encoder_get_dp_bridge_encoder_id(encoder) != ENCODER_OBJECT_ID_NONE)) {
>   		struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv;
>   		struct drm_connector *connector =
>   			radeon_get_connector_for_encoder(encoder);
Also gets the NUTMEG bridge on my llano board working, but DP on trinity 
is still problematic. Anyway:

Tested-by: Christian König <deathsimple@vodafone.de>

      reply	other threads:[~2012-04-29 14:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-27 21:18 [PATCH] drm/radeon/kms: need to set up ss on DP bridges as well alexdeucher
2012-04-29 14:08 ` Christian König [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F9D4B46.1020609@vodafone.de \
    --to=deathsimple@vodafone.de \
    --cc=alexander.deucher@amd.com \
    --cc=alexdeucher@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox