drm/i915/glk: Add MODULE_FIRMWARE for Geminilake
authorIan W MORRISON <ianwmorrison@gmail.com>
Wed, 11 Apr 2018 04:42:13 +0000 (14:42 +1000)
committerJani Nikula <jani.nikula@intel.com>
Fri, 27 Apr 2018 09:10:44 +0000 (12:10 +0300)
commitf6d3e06f074721ad3a231df745d85b60428c1f03
tree6416ec8fa0585d94c1dff8240eea3a9aa5aeb267
parent2a34b0054bf4a5224347e4135019b63d91cfb5d4
drm/i915/glk: Add MODULE_FIRMWARE for Geminilake

As the Geminilake firmware is now merged to linux-firmware.git
use MODUE_FIRMWARE to load the firmware.

This removes the error message in the dmesg log:

    i915 0000:00:02.0: Direct firmware load for
        i915/glk_dmc_ver1_04.bin failed with error -2
    i915 0000:00:02.0: Failed to load DMC firmware
        i915/glk_dmc_ver1_04.bin. Disabling runtime power management.
    i915 0000:00:02.0: DMC firmware homepage:
        https://01.org/linuxgraphics/downloads/firmware

and now shows that the firmware has correctly loaded:

    [drm] Finished loading DMC firmware i915/glk_dmc_ver1_04.bin (v1.4)

Signed-off-by: Ian W MORRISON <ianwmorrison@gmail.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180411044213.383-1-ianwmorrison@gmail.com
drivers/gpu/drm/i915/intel_csr.c