drm/i915/guc: Drop union guc_log_control
authorMichal Wajdeczko <[email protected]>
Tue, 20 Mar 2018 18:14:18 +0000 (18:14 +0000)
committerChris Wilson <[email protected]>
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 <[email protected]>
Cc: Michal Winiarski <[email protected]>
Cc: Sagar Arun Kamble <[email protected]>
Reviewed-by: MichaĹ Winiarski <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/intel_guc_fwif.h
drivers/gpu/drm/i915/intel_guc_log.c