diff options
| author | Balasubramani Vivekanandan <[email protected]> | 2024-04-30 10:28:33 -0700 |
|---|---|---|
| committer | Radhakrishna Sripada <[email protected]> | 2024-05-03 12:34:02 -0700 |
| commit | 37153b0ad3d3c26fd4b6091b124245a4401da6fd (patch) | |
| tree | 0b9c106f783fc97c1b19d76b629781027b3ed450 /tools/perf/scripts/python | |
| parent | 7f071dde0bc97d40d8e80a374e155b6c0cd72174 (diff) | |
drm/i915/bmg: Define IS_BATTLEMAGE macro
Display code uses IS_BATTLEMAGE macro but the platform support doesn't
exist in i915. So fake IS_BATTLEMAGE macro defined to enable building
i915 code. We should make sure the macro parameter is used in the
always-false expression so that we don't run into "unused variable"
warnings from i915 builds if the IS_BATTLEMAGE() check is the only place
the i915 pointer gets used in a function.
While we're at it, also update the IS_LUNARLAKE macro to include the
parameter in the false expression for consistency.
Signed-off-by: Balasubramani Vivekanandan <[email protected]>
Reviewed-by: Matt Roper <[email protected]>
Signed-off-by: Radhakrishna Sripada <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions