Changeset 107707 in vbox
- Timestamp:
- Jan 13, 2025 3:15:14 PM (7 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/drm/vbox_mode.c
r107705 r107707 360 360 } 361 361 362 #if RTLNX_VER_MIN(4,8,0) 363 static int vbox_crtc_gamma_set(struct drm_crtc *crtc, u16 *r, u16 *g, u16 *b, 364 uint32_t size, struct drm_modeset_acquire_ctx *ctx) 365 { 366 return 0; 367 } 368 #elif RTLNX_VER_MIN(2,6,29) /* RTLNX_VER_MIN <= 4.8.0 */ 369 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 */ 374 362 375 static void vbox_crtc_destroy(struct drm_crtc *crtc) 363 376 { … … 371 384 .reset = vbox_crtc_reset, 372 385 .set_config = drm_crtc_helper_set_config, 373 /* .gamma_set = vbox_crtc_gamma_set, */ 386 #if RTLNX_VER_MIN(2,6,29) 387 .gamma_set = vbox_crtc_gamma_set, 388 #endif 374 389 .page_flip = vbox_crtc_page_flip, 375 390 .destroy = vbox_crtc_destroy,
Note:
See TracChangeset
for help on using the changeset viewer.