]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dmc: extract function to parse dmc_header
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 7 Jun 2019 09:12:27 +0000 (02:12 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Mon, 17 Jun 2019 19:32:31 +0000 (12:32 -0700)
commit1a1a2e05d3dcc99662e7eeb8d2cc1315754ed971
treeed7c9d942b80264fe6b68bfa7ce45f13c121587d
parent5d528c85bb5a178e30de4f78428c0050cc826284
drm/i915/dmc: extract function to parse dmc_header

Complete the extraction of functions to parse specific parts of the
firmware. The return of the function parse_csr_fw() is now redundant
since it already sets the dmc_payload field. Changing it is left for
later to avoid noise in the commit.

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-7-lucas.demarchi@intel.com
drivers/gpu/drm/i915/intel_csr.c