From: "Jouni Högander" <jouni.hogander@intel.com>
To: intel-xe@lists.freedesktop.org
Cc: "Jouni Högander" <jouni.hogander@intel.com>
Subject: [Intel-xe] [PATCH v2 4/4] fixup! drm/xe/display: Implement display support
Date: Thu, 21 Sep 2023 14:14:34 +0300 [thread overview]
Message-ID: <20230921111434.3051325-5-jouni.hogander@intel.com> (raw)
In-Reply-To: <20230921111434.3051325-1-jouni.hogander@intel.com>
Add xe_runtime_pm struct pointer to xe_device for runtime related macros.
v2: Add xe_runtime_pm struct pointer to xe_device
Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
---
| 2 ++
drivers/gpu/drm/xe/xe_device_types.h | 3 +++
2 files changed, 5 insertions(+)
--git a/drivers/gpu/drm/xe/compat-i915-headers/intel_runtime_pm.h b/drivers/gpu/drm/xe/compat-i915-headers/intel_runtime_pm.h
index ce2b9bf3918d..89da3cc62f39 100644
--- a/drivers/gpu/drm/xe/compat-i915-headers/intel_runtime_pm.h
+++ b/drivers/gpu/drm/xe/compat-i915-headers/intel_runtime_pm.h
@@ -5,6 +5,8 @@
#include "intel_wakeref.h"
+#define intel_runtime_pm xe_runtime_pm
+
static inline void disable_rpm_wakeref_asserts(void *rpm)
{
}
diff --git a/drivers/gpu/drm/xe/xe_device_types.h b/drivers/gpu/drm/xe/xe_device_types.h
index c0d5ca62df7b..a82f28c6a3a0 100644
--- a/drivers/gpu/drm/xe/xe_device_types.h
+++ b/drivers/gpu/drm/xe/xe_device_types.h
@@ -401,6 +401,9 @@ struct xe_device {
*/
u32 edram_size_mb;
+ /* To shut up runtime pm macros.. */
+ struct xe_runtime_pm {} runtime_pm;
+
/* For pcode */
struct mutex sb_lock;
--
2.34.1
next prev parent reply other threads:[~2023-09-21 11:15 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-21 11:14 [Intel-xe] [PATCH v2 0/4] Xe runtime pm refactoring Jouni Högander
2023-09-21 11:14 ` [Intel-xe] [PATCH v2 1/4] Revert "FIXME: drm/i915: runtime pm changes" Jouni Högander
2023-09-21 11:14 ` [Intel-xe] [PATCH v2 2/4] drm/i915: Remove runtime suspended boolean from intel_runtime_pm struct Jouni Högander
2023-09-21 11:14 ` [Intel-xe] [PATCH v2 3/4] fixup! drm/xe: Introduce a new DRM driver for Intel GPUs Jouni Högander
2023-09-21 16:28 ` Rodrigo Vivi
2023-09-21 11:14 ` Jouni Högander [this message]
2023-09-21 11:17 ` [Intel-xe] ✓ CI.Patch_applied: success for Xe runtime pm refactoring (rev2) Patchwork
2023-09-21 11:17 ` [Intel-xe] ✗ CI.checkpatch: warning " Patchwork
2023-09-21 11:18 ` [Intel-xe] ✓ CI.KUnit: success " Patchwork
2023-09-21 11:25 ` [Intel-xe] ✓ CI.Build: " Patchwork
2023-09-21 11:26 ` [Intel-xe] ✓ CI.Hooks: " Patchwork
2023-09-21 11:27 ` [Intel-xe] ✗ CI.checksparse: warning " Patchwork
2023-09-21 12:02 ` [Intel-xe] ✗ CI.BAT: failure " Patchwork
2023-09-21 16:28 ` [Intel-xe] [PATCH v2 0/4] Xe runtime pm refactoring Rodrigo Vivi
2023-09-25 5:38 ` Hogander, Jouni
2023-09-22 5:50 ` [Intel-xe] ✓ CI.Patch_applied: success for Xe runtime pm refactoring (rev3) Patchwork
2023-09-22 5:51 ` [Intel-xe] ✗ CI.checkpatch: warning " Patchwork
2023-09-22 5:52 ` [Intel-xe] ✓ CI.KUnit: success " Patchwork
2023-09-22 5:59 ` [Intel-xe] ✓ CI.Build: " Patchwork
2023-09-22 5:59 ` [Intel-xe] ✓ CI.Hooks: " Patchwork
2023-09-22 6:01 ` [Intel-xe] ✗ CI.checksparse: warning " Patchwork
2023-09-22 6:35 ` [Intel-xe] ✓ CI.BAT: success " Patchwork
-- strict thread matches above, loose matches on Subject: below --
2023-05-19 7:41 [Intel-xe] [PATCH v2 0/4] Revert frontbuffer tracking removal Jouni Högander
2023-05-19 7:41 ` [Intel-xe] [PATCH v2 4/4] fixup! drm/xe/display: Implement display support Jouni Högander
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=20230921111434.3051325-5-jouni.hogander@intel.com \
--to=jouni.hogander@intel.com \
--cc=intel-xe@lists.freedesktop.org \
/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