Changeset 107715 in vbox
- Timestamp:
- Jan 13, 2025 4:49:13 PM (7 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/drm/vbox_mode.c
r107707 r107715 360 360 } 361 361 362 #if RTLNX_VER_MIN( 4,8,0)362 #if RTLNX_VER_MIN(5,0,0) 363 363 static int vbox_crtc_gamma_set(struct drm_crtc *crtc, u16 *r, u16 *g, u16 *b, 364 364 uint32_t size, struct drm_modeset_acquire_ctx *ctx) 365 365 { 366 366 return 0; 367 367 } 368 #elif RTLNX_VER_MIN(2,6,29) /* RTLNX_VER_MIN <= 4.8.0 */ 368 #elif RTLNX_VER_MIN(4,8,0) 369 static int vbox_crtc_gamma_set(struct drm_crtc *crtc, u16 *r, u16 *g, u16 *b, uint32_t size) 370 { 371 return 0; 372 } 373 #elif RTLNX_VER_MIN(3,0,0) 369 374 static void vbox_crtc_gamma_set(struct drm_crtc *crtc, u16 *r, u16 *g, u16 *b, 370 uint32_t size, struct drm_modeset_acquire_ctx *ctx) 371 { 372 } 373 #endif /* RTLNX_VER_MIN >= 4.8.0 */ 375 uint32_t start, uint32_t size) 376 { 377 } 378 #elif RTLNX_VER_MIN(2,6,29) 379 static void vbox_crtc_gamma_set(struct drm_crtc *crtc, u16 *r, u16 *g, u16 *b, uint32_t size) 380 { 381 } 382 #endif 374 383 375 384 static void vbox_crtc_destroy(struct drm_crtc *crtc)
Note:
See TracChangeset
for help on using the changeset viewer.