From: Jani Nikula <jani.nikula@linux.intel.com>
To: "Jouni Högander" <jouni.hogander@intel.com>,
intel-gfx@lists.freedesktop.org
Subject: Re: [Intel-gfx] [PATCH] drm/i915/display: Include drm_drv.h in intel_display_params.c
Date: Thu, 26 Oct 2023 15:00:29 +0300 [thread overview]
Message-ID: <87zg057fvm.fsf@intel.com> (raw)
In-Reply-To: <20231026114049.2013478-1-jouni.hogander@intel.com>
On Thu, 26 Oct 2023, Jouni Högander <jouni.hogander@intel.com> wrote:
> intel_display_params.c is accessing drm_drv->name. Due to this include
> drm_drv.h to avoid build problem with Xe.
>
> Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
> ---
> drivers/gpu/drm/i915/display/intel_display_params.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_display_params.c b/drivers/gpu/drm/i915/display/intel_display_params.c
> index 11e03cfb774d..cd1dd2fbd8a4 100644
> --- a/drivers/gpu/drm/i915/display/intel_display_params.c
> +++ b/drivers/gpu/drm/i915/display/intel_display_params.c
> @@ -3,6 +3,8 @@
> * Copyright © 2023 Intel Corporation
> */
>
> +#include <drm/drm_drv.h>
> +
> #include "intel_display_params.h"
> #include "i915_drv.h"
--
Jani Nikula, Intel
next prev parent reply other threads:[~2023-10-26 12:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-26 11:40 [Intel-gfx] [PATCH] drm/i915/display: Include drm_drv.h in intel_display_params.c Jouni Högander
2023-10-26 12:00 ` Jani Nikula [this message]
2023-10-27 1:17 ` [Intel-gfx] ✓ Fi.CI.BAT: success for " Patchwork
2023-10-28 5:58 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zg057fvm.fsf@intel.com \
--to=jani.nikula@linux.intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=jouni.hogander@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox