OSDN Git Service

drm/nouveau/disp/gt215: Fix HDA ELD handling (thus, HDMI audio) on gt215
authorAlastair Bridgewater <alastair.bridgewater@gmail.com>
Wed, 11 Jan 2017 20:47:18 +0000 (15:47 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2017 07:02:44 +0000 (08:02 +0100)
commit2a3797ef69c527dc70df98485da9ab2e9d073edb
tree7274e2315df589f4edd3625f1ebe5683dc656411
parente21a3cad35bc2f4c7fff317e2c7d38eed363a430
drm/nouveau/disp/gt215: Fix HDA ELD handling (thus, HDMI audio) on gt215

commit d347583a39e2df609a9e40c835f72d3614665b53 upstream.

Store the ELD correctly, not just enough copies of the first byte
to pad out the given ELD size.

Signed-off-by: Alastair Bridgewater <alastair.bridgewater@gmail.com>
Fixes: 120b0c39c756 ("drm/nv50-/disp: audit and version SOR_HDA_ELD method")
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/nouveau/nvkm/engine/disp/hdagt215.c