Commit 8a6f9d5c authored by Lucas De Marchi's avatar Lucas De Marchi

drm/i915/dmc: use kernel types

Change all fields in intel_package_header and intel_dmc_header whose
meaning are 1-byte numbers to use u8.
Signed-off-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: default avatarAnusha Srivatsa <anusha.srivatsa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190607091230.1489-2-lucas.demarchi@intel.com
parent 9ee72503
...@@ -130,12 +130,12 @@ struct intel_fw_info { ...@@ -130,12 +130,12 @@ struct intel_fw_info {
struct intel_package_header { struct intel_package_header {
/* DMC container header length in dwords */ /* DMC container header length in dwords */
unsigned char header_len; u8 header_len;
/* always value would be 0x01 */ /* always value would be 0x01 */
unsigned char header_ver; u8 header_ver;
unsigned char reserved[10]; u8 reserved[10];
/* Number of valid entries in the FWInfo array below */ /* Number of valid entries in the FWInfo array below */
u32 num_entries; u32 num_entries;
...@@ -148,10 +148,10 @@ struct intel_dmc_header { ...@@ -148,10 +148,10 @@ struct intel_dmc_header {
u32 signature; u32 signature;
/* DMC binary header length */ /* DMC binary header length */
unsigned char header_len; u8 header_len;
/* 0x01 */ /* 0x01 */
unsigned char header_ver; u8 header_ver;
/* Reserved */ /* Reserved */
u16 dmcc_ver; u16 dmcc_ver;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment