Searched refs:dsparb (Results 1 - 1 of 1) sorted by relevance
/linux-4.4.14/drivers/gpu/drm/i915/ |
H A D | intel_pm.c | 333 #define VLV_FIFO_START(dsparb, dsparb2, lo_shift, hi_shift) \ 334 ((((dsparb) >> (lo_shift)) & 0xff) | ((((dsparb2) >> (hi_shift)) & 0x1) << 8)) 343 uint32_t dsparb, dsparb2, dsparb3; vlv_get_fifo_size() local 345 dsparb = I915_READ(DSPARB); vlv_get_fifo_size() 347 sprite0_start = VLV_FIFO_START(dsparb, dsparb2, 0, 0); vlv_get_fifo_size() 348 sprite1_start = VLV_FIFO_START(dsparb, dsparb2, 8, 4); vlv_get_fifo_size() 351 dsparb = I915_READ(DSPARB); vlv_get_fifo_size() 353 sprite0_start = VLV_FIFO_START(dsparb, dsparb2, 16, 8); vlv_get_fifo_size() 354 sprite1_start = VLV_FIFO_START(dsparb, dsparb2, 24, 12); vlv_get_fifo_size() 391 uint32_t dsparb = I915_READ(DSPARB); i9xx_get_fifo_size() local 394 size = dsparb & 0x7f; i9xx_get_fifo_size() 396 size = ((dsparb >> DSPARB_CSTART_SHIFT) & 0x7f) - size; i9xx_get_fifo_size() 398 DRM_DEBUG_KMS("FIFO size - (0x%08x) %s: %d\n", dsparb, i9xx_get_fifo_size() 407 uint32_t dsparb = I915_READ(DSPARB); i830_get_fifo_size() local 410 size = dsparb & 0x1ff; i830_get_fifo_size() 412 size = ((dsparb >> DSPARB_BEND_SHIFT) & 0x1ff) - size; i830_get_fifo_size() 415 DRM_DEBUG_KMS("FIFO size - (0x%08x) %s: %d\n", dsparb, i830_get_fifo_size() 424 uint32_t dsparb = I915_READ(DSPARB); i845_get_fifo_size() local 427 size = dsparb & 0x7f; i845_get_fifo_size() 430 DRM_DEBUG_KMS("FIFO size - (0x%08x) %s: %d\n", dsparb, i845_get_fifo_size() 1196 uint32_t dsparb, dsparb2, dsparb3; local 1198 dsparb = I915_READ(DSPARB); 1201 dsparb &= ~(VLV_FIFO(SPRITEA, 0xff) | 1203 dsparb |= (VLV_FIFO(SPRITEA, sprite0_start) | 1211 I915_WRITE(DSPARB, dsparb); 1215 dsparb = I915_READ(DSPARB); 1218 dsparb &= ~(VLV_FIFO(SPRITEC, 0xff) | 1220 dsparb |= (VLV_FIFO(SPRITEC, sprite0_start) | 1228 I915_WRITE(DSPARB, dsparb);
|
Completed in 94 milliseconds