]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/i915/guc: Drop union guc_log_control
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Tue, 20 Mar 2018 18:14:18 +0000 (18:14 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 21 Mar 2018 15:07:14 +0000 (15:07 +0000)
commit154374c331b01acbaf6a6957a7f9e65192f6a459
tree703b9929e4476fa2653d0cdc7cc64b9755abbc9c
parent7beae44d7b295323d8416526fd612ee166851baf
drm/i915/guc: Drop union guc_log_control

Usually we use shift/mask macros for bit field definitions.
Union guc_log_control was not following that pattern.

Additional bonus:

add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-25 (-25)
Function                                     old     new   delta
intel_guc_log_level_set                      388     363     -25

v2: prevent out-of-range verbosity (MichalWi)

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Michal Winiarski <michal.winiarski@intel.com>
Cc: Sagar Arun Kamble <sagar.a.kamble@intel.com>
Reviewed-by: MichaĹ Winiarski <michal.winiarski@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180320181419.35576-2-michal.wajdeczko@intel.com
drivers/gpu/drm/i915/intel_guc_fwif.h
drivers/gpu/drm/i915/intel_guc_log.c