]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/disp/nv50-: fix center/aspect-corrected scaling
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 25 May 2019 22:41:49 +0000 (18:41 -0400)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 19 Jul 2019 06:26:50 +0000 (16:26 +1000)
commite12fdcfc5b1181f9a8bba39a0dd7f812ea999b3e
treea2cbeb73b6bf0051cfeb19dfc8f5b41ce123c8c5
parentf1863d24ced5070762943b4bac93d4d318f46061
drm/nouveau/disp/nv50-: fix center/aspect-corrected scaling

Previously center scaling would get scaling applied to it (when it was
only supposed to center the image), and aspect-corrected scaling did not
always correctly pick whether to reduce width or height for a particular
combination of inputs/outputs.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110660
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/dispnv50/head.c