diff options
author | Jani Nikula <[email protected]> | 2024-04-17 16:02:42 +0300 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2024-04-18 21:16:38 +0300 |
commit | 6b5ee5720bf7c4ef483839c8add05bdd28ee9d85 (patch) | |
tree | add1b0c51b372eaa88e957a4144c88daca28131d /rust/helpers/helpers.c | |
parent | 98ebb7cf94d209b017b3e7a456e7b1a82455fdc9 (diff) |
drm/i915/display: accept either i915 or display for feature tests
Use the generic __to_intel_display() to allow passing either struct
drm_i915_private * or struct intel_display * to the feature test macros.
Reviewed-by: Rodrigo Vivi <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/bed78da39e6bd1587db4dab820602c55c63cdd6a.1713358679.git.jani.nikula@intel.com
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions