Default gamma parameters intialization logic

Hello, could anybody help me: how Gnome perform display gamma parameters initialization, which code is responsible for that? (Actually I’m curios why on old Linux (with Gnome and other DE) default gamma is much warmer than on newer ones?) Is it DE related logic or drm one?