drm/ast: Call open_key before enable_mmio in POST code
authorY.C. Chen <yc_chen@aspeedtech.com>
Wed, 22 Feb 2017 04:14:19 +0000 (15:14 +1100)
committerDave Airlie <airlied@redhat.com>
Tue, 28 Feb 2017 03:25:32 +0000 (13:25 +1000)
commit9bb92f51558f2ef5f56c257bdcea0588f31d857e
tree1a2ce1eea9044d84d47305610008dc82c3800573
parent905f21a49d388de3e99438235f3301cabf0c0ef4
drm/ast: Call open_key before enable_mmio in POST code

open_key enables access the registers used by enable_mmio

Signed-off-by: Y.C. Chen <yc_chen@aspeedtech.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Joel Stanley <joel@jms.id.au>
Tested-by: Y.C. Chen <yc_chen@aspeedtech.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ast/ast_post.c