Searched refs:dsparb2 (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 346 dsparb2 = I915_READ(DSPARB2); 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() 352 dsparb2 = I915_READ(DSPARB2); 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() 357 dsparb2 = I915_READ(DSPARB2); vlv_get_fifo_size() 359 sprite0_start = VLV_FIFO_START(dsparb3, dsparb2, 0, 16); vlv_get_fifo_size() 360 sprite1_start = VLV_FIFO_START(dsparb3, dsparb2, 8, 20); vlv_get_fifo_size() 1196 uint32_t dsparb, dsparb2, dsparb3; local 1199 dsparb2 = I915_READ(DSPARB2); 1206 dsparb2 &= ~(VLV_FIFO(SPRITEA_HI, 0x1) | 1208 dsparb2 |= (VLV_FIFO(SPRITEA_HI, sprite0_start >> 8) | 1212 I915_WRITE(DSPARB2, dsparb2); 1216 dsparb2 = I915_READ(DSPARB2); 1223 dsparb2 &= ~(VLV_FIFO(SPRITEC_HI, 0xff) | 1225 dsparb2 |= (VLV_FIFO(SPRITEC_HI, sprite0_start >> 8) | 1229 I915_WRITE(DSPARB2, dsparb2); 1233 dsparb2 = I915_READ(DSPARB2); 1240 dsparb2 &= ~(VLV_FIFO(SPRITEE_HI, 0xff) | 1242 dsparb2 |= (VLV_FIFO(SPRITEE_HI, sprite0_start >> 8) | 1246 I915_WRITE(DSPARB2, dsparb2);
|
Completed in 89 milliseconds