drm/i915: allow to load DMC firmware on next gen
authorLucas De Marchi <lucas.demarchi@intel.com>
Sat, 17 Nov 2018 00:42:33 +0000 (16:42 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 20 Nov 2018 22:14:17 +0000 (14:14 -0800)
commit02c07b76af5a7b97f4af1d211503b53444193dbb
treeb1bb9388a511a8c8bdf45ab2c457b8ddeeb89cc9
parentcab870b7fdf3c4be747d88de5248b28db7d4055e
drm/i915: allow to load DMC firmware on next gen

Before commit d8a5b7d79fb7 ("drm/i915/csr: keep max firmware size together
with firmare name and version") it was possible to load the firmware for
testing purposes via parameter. Let's use the size of the last known
platform to recover that behavior.

Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181117004234.23437-1-lucas.demarchi@intel.com
drivers/gpu/drm/i915/intel_csr.c