color_plane      1897 drivers/gpu/drm/i915/display/intel_display.c intel_tile_width_bytes(const struct drm_framebuffer *fb, int color_plane)
color_plane      1900 drivers/gpu/drm/i915/display/intel_display.c 	unsigned int cpp = fb->format->cpp[color_plane];
color_plane      1911 drivers/gpu/drm/i915/display/intel_display.c 		if (color_plane == 1)
color_plane      1920 drivers/gpu/drm/i915/display/intel_display.c 		if (color_plane == 1)
color_plane      1945 drivers/gpu/drm/i915/display/intel_display.c intel_tile_height(const struct drm_framebuffer *fb, int color_plane)
color_plane      1948 drivers/gpu/drm/i915/display/intel_display.c 		intel_tile_width_bytes(fb, color_plane);
color_plane      1952 drivers/gpu/drm/i915/display/intel_display.c static void intel_tile_dims(const struct drm_framebuffer *fb, int color_plane,
color_plane      1956 drivers/gpu/drm/i915/display/intel_display.c 	unsigned int tile_width_bytes = intel_tile_width_bytes(fb, color_plane);
color_plane      1957 drivers/gpu/drm/i915/display/intel_display.c 	unsigned int cpp = fb->format->cpp[color_plane];
color_plane      1965 drivers/gpu/drm/i915/display/intel_display.c 		      int color_plane, unsigned int height)
color_plane      1967 drivers/gpu/drm/i915/display/intel_display.c 	unsigned int tile_height = intel_tile_height(fb, color_plane);
color_plane      2032 drivers/gpu/drm/i915/display/intel_display.c 					 int color_plane)
color_plane      2037 drivers/gpu/drm/i915/display/intel_display.c 	if (color_plane == 1)
color_plane      2175 drivers/gpu/drm/i915/display/intel_display.c static int intel_fb_pitch(const struct drm_framebuffer *fb, int color_plane,
color_plane      2179 drivers/gpu/drm/i915/display/intel_display.c 		return to_intel_framebuffer(fb)->rotated[color_plane].pitch;
color_plane      2181 drivers/gpu/drm/i915/display/intel_display.c 		return fb->pitches[color_plane];
color_plane      2192 drivers/gpu/drm/i915/display/intel_display.c 			  int color_plane)
color_plane      2195 drivers/gpu/drm/i915/display/intel_display.c 	unsigned int cpp = fb->format->cpp[color_plane];
color_plane      2196 drivers/gpu/drm/i915/display/intel_display.c 	unsigned int pitch = state->color_plane[color_plane].stride;
color_plane      2208 drivers/gpu/drm/i915/display/intel_display.c 			  int color_plane)
color_plane      2211 drivers/gpu/drm/i915/display/intel_display.c 	*x += state->color_plane[color_plane].x;
color_plane      2212 drivers/gpu/drm/i915/display/intel_display.c 	*y += state->color_plane[color_plane].y;
color_plane      2242 drivers/gpu/drm/i915/display/intel_display.c static bool is_surface_linear(u64 modifier, int color_plane)
color_plane      2249 drivers/gpu/drm/i915/display/intel_display.c 				       int color_plane,
color_plane      2255 drivers/gpu/drm/i915/display/intel_display.c 	unsigned int cpp = fb->format->cpp[color_plane];
color_plane      2259 drivers/gpu/drm/i915/display/intel_display.c 	if (!is_surface_linear(fb->modifier, color_plane)) {
color_plane      2264 drivers/gpu/drm/i915/display/intel_display.c 		intel_tile_dims(fb, color_plane, &tile_width, &tile_height);
color_plane      2292 drivers/gpu/drm/i915/display/intel_display.c 					     int color_plane,
color_plane      2295 drivers/gpu/drm/i915/display/intel_display.c 	return intel_adjust_aligned_offset(x, y, state->base.fb, color_plane,
color_plane      2297 drivers/gpu/drm/i915/display/intel_display.c 					   state->color_plane[color_plane].stride,
color_plane      2318 drivers/gpu/drm/i915/display/intel_display.c 					int color_plane,
color_plane      2323 drivers/gpu/drm/i915/display/intel_display.c 	unsigned int cpp = fb->format->cpp[color_plane];
color_plane      2329 drivers/gpu/drm/i915/display/intel_display.c 	if (!is_surface_linear(fb->modifier, color_plane)) {
color_plane      2334 drivers/gpu/drm/i915/display/intel_display.c 		intel_tile_dims(fb, color_plane, &tile_width, &tile_height);
color_plane      2368 drivers/gpu/drm/i915/display/intel_display.c 					      int color_plane)
color_plane      2374 drivers/gpu/drm/i915/display/intel_display.c 	int pitch = state->color_plane[color_plane].stride;
color_plane      2380 drivers/gpu/drm/i915/display/intel_display.c 		alignment = intel_surf_alignment(fb, color_plane);
color_plane      2382 drivers/gpu/drm/i915/display/intel_display.c 	return intel_compute_aligned_offset(dev_priv, x, y, fb, color_plane,
color_plane      2389 drivers/gpu/drm/i915/display/intel_display.c 				 int color_plane)
color_plane      2395 drivers/gpu/drm/i915/display/intel_display.c 	    fb->offsets[color_plane] % intel_tile_size(dev_priv)) {
color_plane      2397 drivers/gpu/drm/i915/display/intel_display.c 			      fb->offsets[color_plane], color_plane);
color_plane      2401 drivers/gpu/drm/i915/display/intel_display.c 	height = drm_framebuffer_plane_height(fb->height, fb, color_plane);
color_plane      2402 drivers/gpu/drm/i915/display/intel_display.c 	height = ALIGN(height, intel_tile_height(fb, color_plane));
color_plane      2405 drivers/gpu/drm/i915/display/intel_display.c 	if (add_overflows_t(u32, mul_u32_u32(height, fb->pitches[color_plane]),
color_plane      2406 drivers/gpu/drm/i915/display/intel_display.c 			    fb->offsets[color_plane])) {
color_plane      2408 drivers/gpu/drm/i915/display/intel_display.c 			      fb->offsets[color_plane], fb->pitches[color_plane],
color_plane      2409 drivers/gpu/drm/i915/display/intel_display.c 			      color_plane);
color_plane      2417 drivers/gpu/drm/i915/display/intel_display.c 				    fb, color_plane, DRM_MODE_ROTATE_0,
color_plane      2418 drivers/gpu/drm/i915/display/intel_display.c 				    fb->pitches[color_plane],
color_plane      2419 drivers/gpu/drm/i915/display/intel_display.c 				    fb->offsets[color_plane], 0);
color_plane      2537 drivers/gpu/drm/i915/display/intel_display.c intel_fb_stride_alignment(const struct drm_framebuffer *fb, int color_plane)
color_plane      2550 drivers/gpu/drm/i915/display/intel_display.c 		if (fb->pitches[color_plane] > max_stride)
color_plane      2555 drivers/gpu/drm/i915/display/intel_display.c 		return intel_tile_width_bytes(fb, color_plane);
color_plane      2879 drivers/gpu/drm/i915/display/intel_display.c 			plane_state->color_plane[i].stride = pitch_tiles * tile_height;
color_plane      2885 drivers/gpu/drm/i915/display/intel_display.c 			plane_state->color_plane[i].stride = pitch_tiles * tile_width * cpp;
color_plane      2899 drivers/gpu/drm/i915/display/intel_display.c 		plane_state->color_plane[i].offset = 0;
color_plane      2900 drivers/gpu/drm/i915/display/intel_display.c 		plane_state->color_plane[i].x = x;
color_plane      2901 drivers/gpu/drm/i915/display/intel_display.c 		plane_state->color_plane[i].y = y;
color_plane      2933 drivers/gpu/drm/i915/display/intel_display.c 		plane_state->color_plane[i].stride = intel_fb_pitch(&fb->base, i, rotation);
color_plane      2934 drivers/gpu/drm/i915/display/intel_display.c 		plane_state->color_plane[i].offset = 0;
color_plane      2937 drivers/gpu/drm/i915/display/intel_display.c 			plane_state->color_plane[i].x = fb->rotated[i].x;
color_plane      2938 drivers/gpu/drm/i915/display/intel_display.c 			plane_state->color_plane[i].y = fb->rotated[i].y;
color_plane      2940 drivers/gpu/drm/i915/display/intel_display.c 			plane_state->color_plane[i].x = fb->normal[i].x;
color_plane      2941 drivers/gpu/drm/i915/display/intel_display.c 			plane_state->color_plane[i].y = fb->normal[i].y;
color_plane      3233 drivers/gpu/drm/i915/display/intel_display.c 	intel_state->color_plane[0].stride =
color_plane      3278 drivers/gpu/drm/i915/display/intel_display.c 			       int color_plane,
color_plane      3281 drivers/gpu/drm/i915/display/intel_display.c 	int cpp = fb->format->cpp[color_plane];
color_plane      3316 drivers/gpu/drm/i915/display/intel_display.c 			       int color_plane,
color_plane      3319 drivers/gpu/drm/i915/display/intel_display.c 	int cpp = fb->format->cpp[color_plane];
color_plane      3344 drivers/gpu/drm/i915/display/intel_display.c 			       int color_plane,
color_plane      3356 drivers/gpu/drm/i915/display/intel_display.c 	int aux_x = plane_state->color_plane[1].x;
color_plane      3357 drivers/gpu/drm/i915/display/intel_display.c 	int aux_y = plane_state->color_plane[1].y;
color_plane      3358 drivers/gpu/drm/i915/display/intel_display.c 	u32 aux_offset = plane_state->color_plane[1].offset;
color_plane      3381 drivers/gpu/drm/i915/display/intel_display.c 	plane_state->color_plane[1].offset = aux_offset;
color_plane      3382 drivers/gpu/drm/i915/display/intel_display.c 	plane_state->color_plane[1].x = aux_x;
color_plane      3383 drivers/gpu/drm/i915/display/intel_display.c 	plane_state->color_plane[1].y = aux_y;
color_plane      3399 drivers/gpu/drm/i915/display/intel_display.c 	u32 alignment, offset, aux_offset = plane_state->color_plane[1].offset;
color_plane      3436 drivers/gpu/drm/i915/display/intel_display.c 		while ((x + w) * cpp > plane_state->color_plane[0].stride) {
color_plane      3460 drivers/gpu/drm/i915/display/intel_display.c 		if (x != plane_state->color_plane[1].x || y != plane_state->color_plane[1].y) {
color_plane      3466 drivers/gpu/drm/i915/display/intel_display.c 	plane_state->color_plane[0].offset = offset;
color_plane      3467 drivers/gpu/drm/i915/display/intel_display.c 	plane_state->color_plane[0].x = x;
color_plane      3468 drivers/gpu/drm/i915/display/intel_display.c 	plane_state->color_plane[0].y = y;
color_plane      3503 drivers/gpu/drm/i915/display/intel_display.c 	plane_state->color_plane[1].offset = offset;
color_plane      3504 drivers/gpu/drm/i915/display/intel_display.c 	plane_state->color_plane[1].x = x;
color_plane      3505 drivers/gpu/drm/i915/display/intel_display.c 	plane_state->color_plane[1].y = y;
color_plane      3524 drivers/gpu/drm/i915/display/intel_display.c 	plane_state->color_plane[1].offset = offset;
color_plane      3525 drivers/gpu/drm/i915/display/intel_display.c 	plane_state->color_plane[1].x = x * hsub + src_x % hsub;
color_plane      3526 drivers/gpu/drm/i915/display/intel_display.c 	plane_state->color_plane[1].y = y * vsub + src_y % vsub;
color_plane      3556 drivers/gpu/drm/i915/display/intel_display.c 		plane_state->color_plane[1].offset = ~0xfff;
color_plane      3557 drivers/gpu/drm/i915/display/intel_display.c 		plane_state->color_plane[1].x = 0;
color_plane      3558 drivers/gpu/drm/i915/display/intel_display.c 		plane_state->color_plane[1].y = 0;
color_plane      3716 drivers/gpu/drm/i915/display/intel_display.c 	plane_state->color_plane[0].offset = offset;
color_plane      3717 drivers/gpu/drm/i915/display/intel_display.c 	plane_state->color_plane[0].x = src_x;
color_plane      3718 drivers/gpu/drm/i915/display/intel_display.c 	plane_state->color_plane[0].y = src_y;
color_plane      3782 drivers/gpu/drm/i915/display/intel_display.c 	int x = plane_state->color_plane[0].x;
color_plane      3783 drivers/gpu/drm/i915/display/intel_display.c 	int y = plane_state->color_plane[0].y;
color_plane      3797 drivers/gpu/drm/i915/display/intel_display.c 		dspaddr_offset = plane_state->color_plane[0].offset;
color_plane      3803 drivers/gpu/drm/i915/display/intel_display.c 	I915_WRITE_FW(DSPSTRIDE(i9xx_plane), plane_state->color_plane[0].stride);
color_plane      3940 drivers/gpu/drm/i915/display/intel_display.c 					  int color_plane, unsigned int rotation)
color_plane      3949 drivers/gpu/drm/i915/display/intel_display.c 		return intel_tile_height(fb, color_plane);
color_plane      3951 drivers/gpu/drm/i915/display/intel_display.c 		return intel_tile_width_bytes(fb, color_plane);
color_plane      3955 drivers/gpu/drm/i915/display/intel_display.c 		     int color_plane)
color_plane      3959 drivers/gpu/drm/i915/display/intel_display.c 	u32 stride = plane_state->color_plane[color_plane].stride;
color_plane      3961 drivers/gpu/drm/i915/display/intel_display.c 	if (color_plane >= fb->format->num_planes)
color_plane      3964 drivers/gpu/drm/i915/display/intel_display.c 	return stride / skl_plane_stride_mult(fb, color_plane, rotation);
color_plane      10517 drivers/gpu/drm/i915/display/intel_display.c 	base += plane_state->color_plane[0].offset;
color_plane      10585 drivers/gpu/drm/i915/display/intel_display.c 	plane_state->color_plane[0].offset = offset;
color_plane      10646 drivers/gpu/drm/i915/display/intel_display.c 		CURSOR_STRIDE(plane_state->color_plane[0].stride);
color_plane      10683 drivers/gpu/drm/i915/display/intel_display.c 		plane_state->color_plane[0].stride != fb->pitches[0]);
color_plane      10899 drivers/gpu/drm/i915/display/intel_display.c 		plane_state->color_plane[0].stride != fb->pitches[0]);
color_plane       441 drivers/gpu/drm/i915/display/intel_display.h 				   int color_plane, unsigned int height);
color_plane       526 drivers/gpu/drm/i915/display/intel_display_types.h 	} color_plane[2];
color_plane       682 drivers/gpu/drm/i915/display/intel_fbc.c 	cache->plane.adjusted_x = plane_state->color_plane[0].x;
color_plane       683 drivers/gpu/drm/i915/display/intel_fbc.c 	cache->plane.adjusted_y = plane_state->color_plane[0].y;
color_plane       271 drivers/gpu/drm/i915/display/intel_sprite.c 	stride = plane_state->color_plane[0].stride;
color_plane       542 drivers/gpu/drm/i915/display/intel_sprite.c 		  int color_plane, bool slave, u32 plane_ctl)
color_plane       548 drivers/gpu/drm/i915/display/intel_sprite.c 	u32 surf_addr = plane_state->color_plane[color_plane].offset;
color_plane       549 drivers/gpu/drm/i915/display/intel_sprite.c 	u32 stride = skl_plane_stride(plane_state, color_plane);
color_plane       553 drivers/gpu/drm/i915/display/intel_sprite.c 	u32 x = plane_state->color_plane[color_plane].x;
color_plane       554 drivers/gpu/drm/i915/display/intel_sprite.c 	u32 y = plane_state->color_plane[color_plane].y;
color_plane       592 drivers/gpu/drm/i915/display/intel_sprite.c 		      (plane_state->color_plane[1].offset - surf_addr) | aux_stride);
color_plane       631 drivers/gpu/drm/i915/display/intel_sprite.c 			      (plane_state->color_plane[1].y << 16) |
color_plane       632 drivers/gpu/drm/i915/display/intel_sprite.c 			      plane_state->color_plane[1].x);
color_plane       654 drivers/gpu/drm/i915/display/intel_sprite.c 	int color_plane = 0;
color_plane       658 drivers/gpu/drm/i915/display/intel_sprite.c 		color_plane = 1;
color_plane       662 drivers/gpu/drm/i915/display/intel_sprite.c 			  color_plane, false, plane_state->ctl);
color_plane       938 drivers/gpu/drm/i915/display/intel_sprite.c 	u32 sprsurf_offset = plane_state->color_plane[0].offset;
color_plane       945 drivers/gpu/drm/i915/display/intel_sprite.c 	u32 x = plane_state->color_plane[0].x;
color_plane       946 drivers/gpu/drm/i915/display/intel_sprite.c 	u32 y = plane_state->color_plane[0].y;
color_plane       961 drivers/gpu/drm/i915/display/intel_sprite.c 		      plane_state->color_plane[0].stride);
color_plane      1154 drivers/gpu/drm/i915/display/intel_sprite.c 	u32 sprsurf_offset = plane_state->color_plane[0].offset;
color_plane      1161 drivers/gpu/drm/i915/display/intel_sprite.c 	u32 x = plane_state->color_plane[0].x;
color_plane      1162 drivers/gpu/drm/i915/display/intel_sprite.c 	u32 y = plane_state->color_plane[0].y;
color_plane      1183 drivers/gpu/drm/i915/display/intel_sprite.c 	I915_WRITE_FW(SPRSTRIDE(pipe), plane_state->color_plane[0].stride);
color_plane      1407 drivers/gpu/drm/i915/display/intel_sprite.c 	u32 dvssurf_offset = plane_state->color_plane[0].offset;
color_plane      1414 drivers/gpu/drm/i915/display/intel_sprite.c 	u32 x = plane_state->color_plane[0].x;
color_plane      1415 drivers/gpu/drm/i915/display/intel_sprite.c 	u32 y = plane_state->color_plane[0].y;
color_plane      1436 drivers/gpu/drm/i915/display/intel_sprite.c 	I915_WRITE_FW(DVSSTRIDE(pipe), plane_state->color_plane[0].stride);
color_plane      1531 drivers/gpu/drm/i915/display/intel_sprite.c 	unsigned int stride = plane_state->color_plane[0].stride;
color_plane      3938 drivers/gpu/drm/i915/intel_pm.c 				 int color_plane);
color_plane      4643 drivers/gpu/drm/i915/intel_pm.c 		      int color_plane)
color_plane      4650 drivers/gpu/drm/i915/intel_pm.c 	if (color_plane == 1 && !is_planar_yuv_format(format->format)) {
color_plane      4665 drivers/gpu/drm/i915/intel_pm.c 	if (color_plane == 1 && wp->is_planar)
color_plane      4668 drivers/gpu/drm/i915/intel_pm.c 	wp->cpp = format->cpp[color_plane];
color_plane      4732 drivers/gpu/drm/i915/intel_pm.c 			    struct skl_wm_params *wp, int color_plane)
color_plane      4753 drivers/gpu/drm/i915/intel_pm.c 				     wp, color_plane);
color_plane      4988 drivers/gpu/drm/i915/intel_pm.c 				     enum plane_id plane_id, int color_plane)
color_plane      4995 drivers/gpu/drm/i915/intel_pm.c 					  &wm_params, color_plane);