]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dmc: extract function to parse package_header
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 7 Jun 2019 09:12:26 +0000 (02:12 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Mon, 17 Jun 2019 19:32:30 +0000 (12:32 -0700)
commit5d528c85bb5a178e30de4f78428c0050cc826284
treef3e52e5a331ea8605c477519848ab26f356cf55b
parent6d7785e52aebf9d742122e42096a511ded15e1b0
drm/i915/dmc: extract function to parse package_header

Like parse_csr_fw_css() this parses the package_header from firmware and
saves the relevant fields in the csr struct. In this function we also
lookup the fw_info we are interested in.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Anusha Srivatsa <anusha.srivatsa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190607091230.1489-6-lucas.demarchi@intel.com
drivers/gpu/drm/i915/intel_csr.c