[Intel-gfx] [PATCH] drm/i915/uc: Don't sanitize guc_log_level modparam

Michal Wajdeczko michal.wajdeczko at intel.com
Fri Jul 26 04:47:03 UTC 2019


On Thu, 25 Jul 2019 23:44:08 +0200, Chris Wilson  
<chris at chris-wilson.co.uk> wrote:

> Quoting Michal Wajdeczko (2019-07-25 21:51:06)
>> We are already storing runtime value of log level in private
>> field, so there is no need to modify modparam.
>
> There is an aspect of communicating the clamped value back to the user.
> Does that have any value or alternative?

Actual (clamped or default) value of the GuC log level is exposed in
i915_guc_log_level debugfs entry. User can modify it from there too.

Michal


More information about the Intel-gfx mailing list