]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
UBUNTU: SAUCE: drm/ast: Fix test for VGA enabled
authorY.C. Chen <yc_chen@aspeedtech.com>
Wed, 22 Feb 2017 04:10:50 +0000 (15:10 +1100)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 24 Feb 2017 15:11:27 +0000 (09:11 -0600)
commit85f19ecbad49831e5993f5641eeb4a2c72675b26
treeda92f9d1f343cddd66e4965c993d58fa2e2ae7c8
parent90bf053b076db18ac6d4eade1fa3fc4dd778181c
UBUNTU: SAUCE: drm/ast: Fix test for VGA enabled

BugLink: http://bugs.launchpad.net/bugs/1667424
The test to see if VGA was already enabled is doing an unnecessary
second test from a register that may or may not have been initialized
to a valid value. Remove it.

Signed-off-by: Y.C. Chen <yc_chen@aspeedtech.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/gpu/drm/ast/ast_post.c