]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/i915/guc: Move defines with size of GuC logs to intel_guc_log.h
authorPiotr Piorkowski <piotr.piorkowski@intel.com>
Tue, 5 Jun 2018 15:13:29 +0000 (17:13 +0200)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 12 Jun 2018 14:44:45 +0000 (15:44 +0100)
commit5288c7182dd389bb03b0a1aa38550b344fe5bf97
treefb5ac3507f628d0772b9de77f940f22a39c77484
parent741cebee0aa59cdaafb798c66171c2a863c3fa32
drm/i915/guc: Move defines with size of GuC logs to intel_guc_log.h

At this moment, we have defined GuC logs sizes in intel_guc_fwif.h, but
as these values are related directly to the GuC logs, and not to API of
GuC parameters, we should move these defines to intel_guc_log.h.

v2:
- change buffers size to more friendly (Michał Wajdeczko)
- remove GUC_LOG_SIZE define (Michał Wajdeczko)
v3:
- use SZ_* macros to define buffers sizes (Michał Wajdeczko)

Signed-off-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Michał Winiarski <michal.winiarski@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180605151330.9954-1-piotr.piorkowski@intel.com
drivers/gpu/drm/i915/intel_guc.c
drivers/gpu/drm/i915/intel_guc_fwif.h
drivers/gpu/drm/i915/intel_guc_log.c
drivers/gpu/drm/i915/intel_guc_log.h