mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-25 04:50:11 +01:00
NV50: init gamma storage
This commit is contained in:
parent
88f668a0b9
commit
d5d3f31b10
1 changed files with 3 additions and 0 deletions
|
|
@ -762,6 +762,9 @@ static int nv50_kms_crtcs_init(struct drm_device *dev)
|
|||
struct drm_crtc *drm_crtc = to_nv50_kms_crtc(crtc);
|
||||
|
||||
drm_crtc_init(dev, drm_crtc, &nv50_kms_crtc_funcs);
|
||||
|
||||
/* init lut storage */
|
||||
drm_mode_crtc_set_gamma_size(drm_crtc, 256);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue