Re: [PATCH 2/2] drm/amdgpu/atom: Send out the full AUX address

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

 



On Mon, Aug 31, 2015 at 11:44 PM, Zhou, Jammy <Jammy.Zhou@xxxxxxx> wrote:
> Patch is Reviewed-by: Jammy Zhou <Jammy.Zhou@xxxxxxx>
>
> I cannot find the first patch in my mailbox, did I miss something?

It was a similar fix for the non-atom aux code in radeon:
http://lists.freedesktop.org/archives/dri-devel/2015-August/089539.html

Alex

>
> Regards,
> Jammy
>
> -----Original Message-----
> From: dri-devel [mailto:dri-devel-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Alex Deucher
> Sent: Monday, August 31, 2015 11:19 PM
> To: dri-devel@xxxxxxxxxxxxxxxxxxxxx
> Cc: Deucher, Alexander; stable@xxxxxxxxxxxxxxx
> Subject: [PATCH 2/2] drm/amdgpu/atom: Send out the full AUX address
>
> AUX addresses are 20 bits long. Send out the entire address instead of just the low 16 bits.
>
> Port of:
> drm/radeon/atom: Send out the full AUX address to amdgpu
>
> Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx
> ---
>  drivers/gpu/drm/amd/amdgpu/atombios_dp.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/atombios_dp.c b/drivers/gpu/drm/amd/amdgpu/atombios_dp.c
> index 9ba0a7d..92b6aca 100644
> --- a/drivers/gpu/drm/amd/amdgpu/atombios_dp.c
> +++ b/drivers/gpu/drm/amd/amdgpu/atombios_dp.c
> @@ -139,7 +139,8 @@ amdgpu_atombios_dp_aux_transfer(struct drm_dp_aux *aux, struct drm_dp_aux_msg *m
>
>         tx_buf[0] = msg->address & 0xff;
>         tx_buf[1] = msg->address >> 8;
> -       tx_buf[2] = msg->request << 4;
> +       tx_buf[2] = (msg->request << 4) |
> +               ((msg->address >> 16) & 0xf);
>         tx_buf[3] = msg->size ? (msg->size - 1) : 0;
>
>         switch (msg->request & ~DP_AUX_I2C_MOT) {
> --
> 1.8.3.1
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
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