On 8/29/2023 5:42 AM, Michal Wajdeczko wrote:
On 25.08.2023 07:50, Linyu Yuan wrote:
On 8/25/2023 1:37 PM, Jani Nikula wrote:
On Fri, 25 Aug 2023, Linyu Yuan wrote:
GCC report GUC_KLV_0_KEY and GUC_KLV_0_LEN is not constant when do
preprocessing.
Please paste the actual compiler warning.
On 8/29/2023 5:42 AM, Michal Wajdeczko wrote:
On 25.08.2023 07:50, Linyu Yuan wrote:
On 8/25/2023 1:37 PM, Jani Nikula wrote:
On Fri, 25 Aug 2023, Linyu Yuan wrote:
GCC report GUC_KLV_0_KEY and GUC_KLV_0_LEN is not constant when do
preprocessing.
Please paste the actual compiler warning.
On 25.08.2023 07:50, Linyu Yuan wrote:
>
> On 8/25/2023 1:37 PM, Jani Nikula wrote:
>> On Fri, 25 Aug 2023, Linyu Yuan wrote:
>>> GCC report GUC_KLV_0_KEY and GUC_KLV_0_LEN is not constant when do
>>> preprocessing.
>> Please paste the actual compiler warning.
>
>
> CC drivers/gpu/drm
GCC report GUC_KLV_0_KEY and GUC_KLV_0_LEN is not constant when do
preprocessing.
Change to use GENMASK() to avoid the issue.
Signed-off-by: Linyu Yuan
---
drivers/gpu/drm/i915/gt/uc/abi/guc_klvs_abi.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/
On 8/25/2023 1:37 PM, Jani Nikula wrote:
On Fri, 25 Aug 2023, Linyu Yuan wrote:
GCC report GUC_KLV_0_KEY and GUC_KLV_0_LEN is not constant when do
preprocessing.
Please paste the actual compiler warning.
CC drivers/gpu/drm/i915/gt/uc/intel_guc_submission.o
In file included from :0:
On Fri, 25 Aug 2023, Linyu Yuan wrote:
> GCC report GUC_KLV_0_KEY and GUC_KLV_0_LEN is not constant when do
> preprocessing.
Please paste the actual compiler warning.
BR,
Jani.
>
> Change to use GENMASK() to avoid the issue.
>
> Signed-off-by: Linyu Yuan
> ---
> drivers/gpu/drm/i915/gt/uc/a