diff options
author | Piotr Piorkowski <piotr.piorkowski@intel.com> | 2018-06-05 17:13:30 +0200 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-06-12 15:44:47 +0100 |
commit | 3d6d62eae7d75a902f4eacdbb2d775c7c27f3987 (patch) | |
tree | de49b6562f823ff8071845ca7e00d84131ce15c9 /drivers/gpu/drm/i915/i915_gem_gtt.c | |
parent | 5288c7182dd389bb03b0a1aa38550b344fe5bf97 (diff) | |
download | talos-op-linux-3d6d62eae7d75a902f4eacdbb2d775c7c27f3987.tar.gz talos-op-linux-3d6d62eae7d75a902f4eacdbb2d775c7c27f3987.zip |
drm/i915/guc: Add support for define guc_log_size in megabytes.
At this moment we can define GuC logs sizes only using pages.
But GuC also allows use for this values expressed in megabytes.
Lets add support for define guc_log_size in megabytes when we
debug of GuC.
v2:
- change buffers size to more friendly (Michał Wajdeczko)
- merge statements in guc_ctl_log_params_flags() (Michał Wajdeczko)
v3:
- fix ifdef (rename DRM_I915_DEBUG_GUC to CONFIG_DRM_I915_DEBUG_GUC)
(Michał Wajdeczko)
- 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-2-piotr.piorkowski@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_gtt.c')
0 files changed, 0 insertions, 0 deletions