summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2015-02-16 16:18:59 +0900
committerAlexandre Courbot <acourbot@nvidia.com>2015-08-06 13:26:22 +0900
commitfdcf960a4eb567cbde518556e0598220822a29d6 (patch)
tree12fe9a79a4c62f64cbb7cc26084df2e82e5d7fe9
parentdc1e5ffa49cfcd339c88b5b309115c4cc603e7b0 (diff)
downloadnouveau-fdcf960a4eb567cbde518556e0598220822a29d6.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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drm/nouveau/nv50_display.c b/drm/nouveau/nv50_display.c
index 981342d14..785f4591a 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