Lines Matching refs:brightness
46 struct drm_property *brightness; member
54 int brightness; member
202 u32 luma = (plane->brightness - 512) << 16 | plane->contrast; in nv10_set_params()
237 else if (property == nv_plane->props.brightness) in nv_set_property()
238 nv_plane->brightness = value; in nv_set_property()
292 plane->props.brightness = drm_property_create_range( in nv10_overlay_init()
302 !plane->props.brightness || in nv10_overlay_init()
316 plane->brightness = 512; in nv10_overlay_init()
318 plane->props.brightness, plane->brightness); in nv10_overlay_init()
356 int brightness = (nv_plane->brightness - 512) * 62 / 512; in nv04_update_plane() local
399 nvif_wr32(dev, NV_PVIDEO_RED_CSC_OFFSET, 0x69 - brightness); in nv04_update_plane()
400 nvif_wr32(dev, NV_PVIDEO_GREEN_CSC_OFFSET, 0x3e + brightness); in nv04_update_plane()
401 nvif_wr32(dev, NV_PVIDEO_BLUE_CSC_OFFSET, 0x89 - brightness); in nv04_update_plane()
472 plane->props.brightness = drm_property_create_range( in nv04_overlay_init()
475 !plane->props.brightness) in nv04_overlay_init()
482 plane->brightness = 512; in nv04_overlay_init()
484 plane->props.brightness, plane->brightness); in nv04_overlay_init()