OSDN Git Service

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)
commit08f8984fd733535683c4d91319884204be06696d
treeed7c9d942b80264fe6b68bfa7ce45f13c121587d
parent32fd773384afc2b9e8dfc9c8ee1927f34b852fab
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