Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8DA29CDB482 for ; Fri, 13 Oct 2023 06:58:04 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 669DB10E5C6; Fri, 13 Oct 2023 06:58:04 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.115]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9B11E10E5C2 for ; Fri, 13 Oct 2023 06:58:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697180281; x=1728716281; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=dPGQmxlNQdlPmq+WHY1qsAbSASzh7FFKljUrpQahgW4=; b=Jb22qsFc+8JRR6m1N2Ma4j6uPUhicNJ8amaxse+QTyDtYNAwf8qNCyrP Pi5rSMqOelj1G8nopq1Mq6Uch2xWu63Zmt2b+OrGvY4jlvdCBFARMX5PC GU++7YWEb9Cb6Jq0FoPy5n/LDpi/xC1QiozAlGnZwGmnAzW+hTr1czHzd pQ0YgShMtCCyhyPKk7xs6thaiYWO4u3/G5v9b5FeVlZabwqfegt+H9l0M RMpHjYadkR/o2/EfvfI8RkKC7+bPqJgar3BtHvn7hKKJxpgtiikbKPZxa oXyEq7xwRJU/AI9IoXcb05JNrkOP8y74h/MfT5u6H4FNyht+WwvMcQh5k Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10861"; a="384954569" X-IronPort-AV: E=Sophos;i="6.03,221,1694761200"; d="scan'208";a="384954569" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Oct 2023 23:58:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10861"; a="731243518" X-IronPort-AV: E=Sophos;i="6.03,221,1694761200"; d="scan'208";a="731243518" Received: from dut-2a59.iind.intel.com ([10.190.239.113]) by orsmga006.jf.intel.com with ESMTP; 12 Oct 2023 23:57:59 -0700 From: Chaitanya Kumar Borah To: intel-xe@lists.freedesktop.org Date: Fri, 13 Oct 2023 12:23:22 +0530 Message-Id: <20231013065323.2233783-6-chaitanya.kumar.borah@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231013065323.2233783-1-chaitanya.kumar.borah@intel.com> References: <20231013065323.2233783-1-chaitanya.kumar.borah@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Intel-xe] [PATCH 5/6] fixup! drm/xe/display: Implement display support X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lucas.demarchi@intel.com Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" Add empty definitions for i915_error_printf to get rid of ifdefs from intel_dmc code Signed-off-by: Chaitanya Kumar Borah Reviewed-by: Lucas De Marchi --- .../gpu/drm/xe/compat-i915-headers/i915_drv.h | 1 + .../drm/xe/compat-i915-headers/i915_gpu_error.h | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 drivers/gpu/drm/xe/compat-i915-headers/i915_gpu_error.h diff --git a/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h b/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h index ed7c39b4f770..9cbe16863be2 100644 --- a/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h +++ b/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h @@ -17,6 +17,7 @@ #include "xe_step.h" #include "i915_gem.h" #include "i915_gem_stolen.h" +#include "i915_gpu_error.h" #include "i915_reg_defs.h" #include "i915_utils.h" #include "intel_gt_types.h" diff --git a/drivers/gpu/drm/xe/compat-i915-headers/i915_gpu_error.h b/drivers/gpu/drm/xe/compat-i915-headers/i915_gpu_error.h new file mode 100644 index 000000000000..98e9dd78f670 --- /dev/null +++ b/drivers/gpu/drm/xe/compat-i915-headers/i915_gpu_error.h @@ -0,0 +1,17 @@ +/* SPDX-License-Identifier: MIT */ +/* + * Copyright © 2023 Intel Corporation + */ + +#ifndef _I915_GPU_ERROR_H_ +#define _I915_GPU_ERROR_H_ + +struct drm_i915_error_state_buf; + +__printf(2, 3) +static inline void +i915_error_printf(struct drm_i915_error_state_buf *e, const char *f, ...) +{ +} + +#endif -- 2.25.1