Lines Matching full:gap
276 u32 gap; in logicvc_layer_buffer_find_setup() local
298 gap = fb_offset - base_offset; in logicvc_layer_buffer_find_setup()
301 if (gap && buffer_offset) { in logicvc_layer_buffer_find_setup()
302 buffer_sel = gap / buffer_offset; in logicvc_layer_buffer_find_setup()
306 gap -= buffer_sel * buffer_offset; in logicvc_layer_buffer_find_setup()
310 if (gap && layer_stride && logicvc->config.layers_configurable) { in logicvc_layer_buffer_find_setup()
311 voffset = gap / layer_stride; in logicvc_layer_buffer_find_setup()
315 gap -= voffset * layer_stride; in logicvc_layer_buffer_find_setup()
319 if (gap && layer_bytespp && logicvc->config.layers_configurable) { in logicvc_layer_buffer_find_setup()
320 hoffset = gap / layer_bytespp; in logicvc_layer_buffer_find_setup()
324 gap -= hoffset * layer_bytespp; in logicvc_layer_buffer_find_setup()
327 if (gap) { in logicvc_layer_buffer_find_setup()
329 "Unable to find layer %d buffer setup for 0x%x byte gap\n", in logicvc_layer_buffer_find_setup()
334 drm_dbg_kms(drm_dev, "Found layer %d buffer setup for 0x%x byte gap:\n", in logicvc_layer_buffer_find_setup()