]> 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)
commit72c2e7cbc9332a8e835ff9a3b44f77ec27932b4b
tree28049cf39662718cc26f299f824526aab8667aa4
parent36685848347d2552738d400c16791ffcde3a7b5f
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