drm_crtc.h (522171951761153172c75b94ae1f4bc9ab631745) | drm_crtc.h (b3c6c8bfe378309f8185d591579a3cb3aa2fe2e8) |
---|---|
1/* 2 * Copyright © 2006 Keith Packard 3 * Copyright © 2007-2008 Dave Airlie 4 * Copyright © 2007-2008 Intel Corporation 5 * Jesse Barnes <jesse.barnes@intel.com> 6 * 7 * Permission is hereby granted, free of charge, to any person obtaining a 8 * copy of this software and associated documentation files (the "Software"), --- 2194 unchanged lines hidden (view full) --- 2203extern int drm_crtc_force_disable_all(struct drm_device *dev); 2204 2205extern void drm_encoder_cleanup(struct drm_encoder *encoder); 2206 2207extern void drm_mode_config_init(struct drm_device *dev); 2208extern void drm_mode_config_reset(struct drm_device *dev); 2209extern void drm_mode_config_cleanup(struct drm_device *dev); 2210 | 1/* 2 * Copyright © 2006 Keith Packard 3 * Copyright © 2007-2008 Dave Airlie 4 * Copyright © 2007-2008 Intel Corporation 5 * Jesse Barnes <jesse.barnes@intel.com> 6 * 7 * Permission is hereby granted, free of charge, to any person obtaining a 8 * copy of this software and associated documentation files (the "Software"), --- 2194 unchanged lines hidden (view full) --- 2203extern int drm_crtc_force_disable_all(struct drm_device *dev); 2204 2205extern void drm_encoder_cleanup(struct drm_encoder *encoder); 2206 2207extern void drm_mode_config_init(struct drm_device *dev); 2208extern void drm_mode_config_reset(struct drm_device *dev); 2209extern void drm_mode_config_cleanup(struct drm_device *dev); 2210 |
2211extern int drm_display_info_set_bus_formats(struct drm_display_info *info, 2212 const u32 *formats, 2213 unsigned int num_formats); 2214 | |
2215static inline bool drm_property_type_is(struct drm_property *property, 2216 uint32_t type) 2217{ 2218 /* instanceof for props.. handles extended type vs original types: */ 2219 if (property->flags & DRM_MODE_PROP_EXTENDED_TYPE) 2220 return (property->flags & DRM_MODE_PROP_EXTENDED_TYPE) == type; 2221 return property->flags & type; 2222} --- 223 unchanged lines hidden --- | 2211static inline bool drm_property_type_is(struct drm_property *property, 2212 uint32_t type) 2213{ 2214 /* instanceof for props.. handles extended type vs original types: */ 2215 if (property->flags & DRM_MODE_PROP_EXTENDED_TYPE) 2216 return (property->flags & DRM_MODE_PROP_EXTENDED_TYPE) == type; 2217 return property->flags & type; 2218} --- 223 unchanged lines hidden --- |