]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ast: Actually load DP501 firmware when required
authorEgbert Eich <eich@suse.de>
Tue, 18 Jul 2017 14:47:40 +0000 (16:47 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 2 Aug 2017 02:13:16 +0000 (12:13 +1000)
commitd95408a2a3ace8c04420689abf42347b1b07908f
tree28049cf39662718cc26f299f824526aab8667aa4
parent60a79d9a4f24c49257661c952c7c04e5cf6d5236
drm/ast: Actually load DP501 firmware when required

The ast driver has a code to load the DP501 firmware, but it's never
used.  This patch implements its actual usage by requesting the
firmware on demand, and release the firmware at exit as well.

Also the path contains a few cleanups and makes relevant functions
static.

Signed-off-by: Egbert Eich <eich@suse.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ast/ast_dp501.c
drivers/gpu/drm/ast/ast_drv.h
drivers/gpu/drm/ast/ast_main.c