Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/drm2/dist/drm/i915/display expand to_intel_...
details: https://anonhg.NetBSD.org/src/rev/223530a7dc3e
branches: trunk
changeset: 1028704:223530a7dc3e
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 11:48:27 2021 +0000
description:
expand to_intel_plane_state so we can use const_container_of
Author: Maya Rashish <maya%NetBSD.org@localhost>
Committer: Taylor R Campbell <riastradh%NetBSD.org@localhost>
diffstat:
sys/external/bsd/drm2/dist/drm/i915/display/intel_display.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r ddd27a6c2365 -r 223530a7dc3e sys/external/bsd/drm2/dist/drm/i915/display/intel_display.h
--- a/sys/external/bsd/drm2/dist/drm/i915/display/intel_display.h Sun Dec 19 11:48:19 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/display/intel_display.h Sun Dec 19 11:48:27 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: intel_display.h,v 1.5 2021/12/19 11:38:03 riastradh Exp $ */
+/* $NetBSD: intel_display.h,v 1.6 2021/12/19 11:48:27 riastradh Exp $ */
/*
* Copyright © 2006-2019 Intel Corporation
@@ -481,7 +481,7 @@
for_each_intel_plane_mask(((crtc_state)->uapi.state->dev), (plane), \
((crtc_state)->uapi.plane_mask)) \
for_each_if ((plane_state = \
- to_intel_plane_state(__drm_atomic_get_current_plane_state((crtc_state)->uapi.state, &plane->base))))
+ const_container_of(__drm_atomic_get_current_plane_state((crtc_state)->uapi.state, &plane->base), struct intel_plane_state, uapi)))
#define for_each_new_intel_connector_in_state(__state, connector, new_connector_state, __i) \
for ((__i) = 0; \
Home |
Main Index |
Thread Index |
Old Index