diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2015-02-16 16:18:59 +0900 |
---|---|---|
committer | Alexandre Courbot <acourbot@nvidia.com> | 2015-02-17 16:31:06 +0900 |
commit | cda3d0034cbf5126e793427b9944dcce97eba5cc (patch) | |
tree | f88b19065180513864f4f24b490e78154335ed6a | |
parent | 77fe2a4c1c7a85ec438894734008d9c2e6f98a33 (diff) | |
download | nouveau-cda3d0034cbf5126e793427b9944dcce97eba5cc.tar.gz |
WAR for 3.18 kernels
This function does not exist on 3.18, and we don't need it for Tegra
anyway.
-rw-r--r-- | drm/nouveau/nv50_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drm/nouveau/nv50_display.c b/drm/nouveau/nv50_display.c index 7da795855..66ba40389 100644 --- a/drm/nouveau/nv50_display.c +++ b/drm/nouveau/nv50_display.c @@ -1731,7 +1731,7 @@ nv50_audio_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode) memcpy(args.data, nv_connector->base.eld, sizeof(args.data)); nvif_mthd(disp->disp, 0, &args, - sizeof(args.base) + drm_eld_size(args.data)); + sizeof(args.base)); } static void |