From dffa487822d1ff8f44817124d8f2927057a57775 Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Tue, 11 Jun 2019 17:46:39 +1000 Subject: drm/nouveau/kms/gv100-: implement csc + enable modern colour managment properties Signed-off-by: Ben Skeggs --- drivers/gpu/drm/nouveau/dispnv50/head.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'drivers/gpu/drm/nouveau/dispnv50/head.c') diff --git a/drivers/gpu/drm/nouveau/dispnv50/head.c b/drivers/gpu/drm/nouveau/dispnv50/head.c index 46e7f4c51f10..0d1108eadcff 100644 --- a/drivers/gpu/drm/nouveau/dispnv50/head.c +++ b/drivers/gpu/drm/nouveau/dispnv50/head.c @@ -512,8 +512,7 @@ nv50_head_create(struct drm_device *dev, int index) &nv50_head_func, "head-%d", head->base.index); drm_crtc_helper_add(crtc, &nv50_head_help); drm_mode_crtc_set_gamma_size(crtc, 256); - if (disp->disp->object.oclass >= GF110_DISP && - disp->disp->object.oclass < GV100_DISP) + if (disp->disp->object.oclass >= GF110_DISP) drm_crtc_enable_color_mgmt(crtc, 256, true, 256); else drm_crtc_enable_color_mgmt(crtc, 0, false, 256); -- cgit v1.2.3