Lines Matching refs:brightness
46 struct drm_property *brightness; member
53 int brightness; member
220 u32 luma = (plane->brightness - 512) << 16 | plane->contrast; in nv10_set_params()
255 else if (property == nv_plane->props.brightness) in nv_set_property()
256 nv_plane->brightness = value; in nv_set_property()
310 plane->props.brightness = drm_property_create_range( in nv10_overlay_init()
318 !plane->props.brightness || in nv10_overlay_init()
331 plane->brightness = 512; in nv10_overlay_init()
333 plane->props.brightness, plane->brightness); in nv10_overlay_init()
376 int brightness = (nv_plane->brightness - 512) * 62 / 512; in nv04_update_plane() local
413 nvif_wr32(dev, NV_PVIDEO_RED_CSC_OFFSET, 0x69 - brightness); in nv04_update_plane()
414 nvif_wr32(dev, NV_PVIDEO_GREEN_CSC_OFFSET, 0x3e + brightness); in nv04_update_plane()
415 nvif_wr32(dev, NV_PVIDEO_BLUE_CSC_OFFSET, 0x89 - brightness); in nv04_update_plane()
487 plane->props.brightness = drm_property_create_range( in nv04_overlay_init()
490 !plane->props.brightness) in nv04_overlay_init()
497 plane->brightness = 512; in nv04_overlay_init()
499 plane->props.brightness, plane->brightness); in nv04_overlay_init()