All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/radeon: call drm_edid_to_eld when we update the edid
@ 2014-03-31 15:19 Alex Deucher
  2014-03-31 15:47 ` Christian König
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Deucher @ 2014-03-31 15:19 UTC (permalink / raw)
  To: dri-devel, deathsimple; +Cc: Alex Deucher, stable

This needs to be done to update some of the fields in
the connector structure used by the audio code.

Noticed by several users on irc.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
---
 drivers/gpu/drm/radeon/radeon_display.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/radeon/radeon_display.c b/drivers/gpu/drm/radeon/radeon_display.c
index fbd8b93..6e6f82c 100644
--- a/drivers/gpu/drm/radeon/radeon_display.c
+++ b/drivers/gpu/drm/radeon/radeon_display.c
@@ -792,6 +792,7 @@ int radeon_ddc_get_modes(struct radeon_connector *radeon_connector)
 	if (radeon_connector->edid) {
 		drm_mode_connector_update_edid_property(&radeon_connector->base, radeon_connector->edid);
 		ret = drm_add_edid_modes(&radeon_connector->base, radeon_connector->edid);
+		drm_edid_to_eld(&radeon_connector->base, radeon_connector->edid);
 		return ret;
 	}
 	drm_mode_connector_update_edid_property(&radeon_connector->base, NULL);
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] drm/radeon: call drm_edid_to_eld when we update the edid
  2014-03-31 15:19 [PATCH] drm/radeon: call drm_edid_to_eld when we update the edid Alex Deucher
@ 2014-03-31 15:47 ` Christian König
  0 siblings, 0 replies; 2+ messages in thread
From: Christian König @ 2014-03-31 15:47 UTC (permalink / raw)
  To: Alex Deucher, dri-devel; +Cc: Alex Deucher, stable

Am 31.03.2014 17:19, schrieb Alex Deucher:
> This needs to be done to update some of the fields in
> the connector structure used by the audio code.
>
> Noticed by several users on irc.
>
> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> Cc: stable@vger.kernel.org

Added to my drm-next-3.15 branch.

Thanks,
Christian.

> ---
>   drivers/gpu/drm/radeon/radeon_display.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/radeon/radeon_display.c b/drivers/gpu/drm/radeon/radeon_display.c
> index fbd8b93..6e6f82c 100644
> --- a/drivers/gpu/drm/radeon/radeon_display.c
> +++ b/drivers/gpu/drm/radeon/radeon_display.c
> @@ -792,6 +792,7 @@ int radeon_ddc_get_modes(struct radeon_connector *radeon_connector)
>   	if (radeon_connector->edid) {
>   		drm_mode_connector_update_edid_property(&radeon_connector->base, radeon_connector->edid);
>   		ret = drm_add_edid_modes(&radeon_connector->base, radeon_connector->edid);
> +		drm_edid_to_eld(&radeon_connector->base, radeon_connector->edid);
>   		return ret;
>   	}
>   	drm_mode_connector_update_edid_property(&radeon_connector->base, NULL);

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-31 15:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-31 15:19 [PATCH] drm/radeon: call drm_edid_to_eld when we update the edid Alex Deucher
2014-03-31 15:47 ` Christian König

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.