drm/ast: change resolution may cause screen blurred
authorY.C. Chen <yc_chen@aspeedtech.com>
Wed, 3 Oct 2018 06:57:47 +0000 (14:57 +0800)
committerDave Airlie <airlied@redhat.com>
Thu, 22 Nov 2018 00:56:17 +0000 (10:56 +1000)
commit1a37bd823891568f8721989aed0615835632d81a
tree5a917b4bab660b949d8872f9b46e4331d68faf2a
parent5478ad10e7850ce3d8b7056db05ddfa3c9ddad9a
drm/ast: change resolution may cause screen blurred

The value of pitches is not correct while calling mode_set.
The issue we found so far on following system:
- Debian8 with XFCE Desktop
- Ubuntu with KDE Desktop
- SUSE15 with KDE Desktop

Signed-off-by: Y.C. Chen <yc_chen@aspeedtech.com>
Cc: <stable@vger.kernel.org>
Tested-by: Jean Delvare <jdelvare@suse.de>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ast/ast_mode.c