/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ttm.c | 2594 struct drm_minor *minor = adev_to_drm(adev)->primary;
|
H A D | amdgpu_vcn.c | 1160 struct drm_minor *minor = adev_to_drm(adev)->primary;
|
H A D | amdgpu_vkms.c | 171 struct drm_plane *primary, struct drm_plane *cursor) 177 ret = drm_crtc_init_with_planes(dev, crtc, primary, cursor, 295 /* for now primary plane must be visible and full screen */ 427 struct drm_plane *primary, *cursor = NULL; local 430 primary = amdgpu_vkms_plane_init(dev, DRM_PLANE_TYPE_PRIMARY, index); 431 if (IS_ERR(primary)) 432 return PTR_ERR(primary); 434 ret = amdgpu_vkms_crtc_init(dev, crtc, primary, cursor); 474 drm_plane_cleanup(primary); 170 amdgpu_vkms_crtc_init(struct drm_device *dev, struct drm_crtc *crtc, struct drm_plane *primary, struct drm_plane *cursor) argument
|
H A D | amdgpu_xcp.c | 264 /* Redirect all IOCTLs to the primary device */ 266 adev->xcp_mgr->xcp[i].pdev = p_ddev->primary->dev; 270 p_ddev->primary->dev = ddev; 376 p_ddev->primary->dev = adev->xcp_mgr->xcp[i].pdev;
|
H A D | atombios_encoders.c | 204 "amdgpu_bl%d", dev->primary->index);
|
H A D | dce_v10_0.c | 231 * Triggers the actual pageflip by updating the primary 238 struct drm_framebuffer *fb = amdgpu_crtc->base.primary->fb; 249 /* update the primary scanout address */ 1864 if (!atomic && !crtc->primary->fb) { 1872 target_fb = crtc->primary->fb; 2076 if (!atomic && fb && fb != crtc->primary->fb) { 2558 if (crtc->primary->fb) { 2562 abo = gem_to_amdgpu_bo(crtc->primary->fb->obj[0]); 3426 /* these are handled by the primary encoders */ 3586 /* these are handled by the primary encoder [all...] |
H A D | dce_v11_0.c | 255 * Triggers the actual pageflip by updating the primary 262 struct drm_framebuffer *fb = amdgpu_crtc->base.primary->fb; 1914 if (!atomic && !crtc->primary->fb) { 1922 target_fb = crtc->primary->fb; 2126 if (!atomic && fb && fb != crtc->primary->fb) { 2642 if (crtc->primary->fb) { 2646 abo = gem_to_amdgpu_bo(crtc->primary->fb->obj[0]); 3557 /* these are handled by the primary encoders */ 3723 /* these are handled by the primary encoders */
|
H A D | dce_v6_0.c | 198 struct drm_framebuffer *fb = amdgpu_crtc->base.primary->fb; 1844 if (!atomic && !crtc->primary->fb) { 1852 target_fb = crtc->primary->fb; 2034 if (!atomic && fb && fb != crtc->primary->fb) { 2473 if (crtc->primary->fb) { 2477 abo = gem_to_amdgpu_bo(crtc->primary->fb->obj[0]); 3253 /* these are handled by the primary encoders */ 3420 /* these are handled by the primary encoders */
|
H A D | dce_v8_0.c | 182 * Triggers the actual pageflip by updating the primary 189 struct drm_framebuffer *fb = amdgpu_crtc->base.primary->fb; 197 /* update the primary scanout addresses */ 1811 if (!atomic && !crtc->primary->fb) { 1819 target_fb = crtc->primary->fb; 2003 if (!atomic && fb && fb != crtc->primary->fb) { 2477 if (crtc->primary->fb) { 2481 abo = gem_to_amdgpu_bo(crtc->primary->fb->obj[0]); 3335 /* these are handled by the primary encoders */ 3495 /* these are handled by the primary encoder [all...] |
/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm.c | 4341 drm->primary->index + aconnector->bl_idx); 4371 * HACK: IGT tests expect that the primary plane for a CRTC 4373 * any CRTC if they're not going to be used as a primary plane 4457 /* There is one primary plane per CRTC */ 4462 * Initialize primary planes, implicit planes for legacy IOCTLS. 4470 DRM_ERROR("KMS: Failed to initialize primary plane\n"); 4476 * Initialize overlay planes, index starting after primary planes. 4477 * These planes have a higher DRM index than the primary planes since 8526 if (plane == pcrtc->primary) 9558 struct drm_plane *plane = disconnected_acrtc->base.primary; [all...] |
H A D | amdgpu_dm_crtc.c | 507 * We require the primary plane to be enabled whenever the CRTC is, otherwise 513 !(crtc_state->plane_mask & drm_plane_mask(crtc->primary))) { 514 DRM_DEBUG_ATOMIC("Can't enable a CRTC without enabling the primary plane\n");
|
H A D | amdgpu_dm_debugfs.c | 4014 struct drm_minor *minor = adev_to_drm(adev)->primary;
|
/linux-master/drivers/gpu/drm/amd/pm/ |
H A D | amdgpu_pm.c | 4700 struct drm_minor *minor = adev_to_drm(adev)->primary;
|
/linux-master/drivers/gpu/drm/amd/pm/swsmu/ |
H A D | amdgpu_smu.c | 3687 adev_to_drm(adev)->primary->debugfs_root,
|
/linux-master/drivers/gpu/drm/arm/ |
H A D | hdlcd_crtc.c | 85 const struct drm_framebuffer *fb = crtc->primary->state->fb; 322 struct drm_plane *primary; local 325 primary = hdlcd_plane_init(drm); 326 if (IS_ERR(primary)) 327 return PTR_ERR(primary); 329 ret = drm_crtc_init_with_planes(drm, &hdlcd->crtc, primary, NULL,
|
H A D | malidp_crtc.c | 529 struct drm_plane *primary = NULL, *plane; local 540 primary = plane; 545 if (!primary) { 546 DRM_ERROR("no primary plane found\n"); 550 ret = drmm_crtc_init_with_planes(drm, &malidp->crtc, primary, NULL,
|
/linux-master/drivers/gpu/drm/armada/ |
H A D | armada_crtc.c | 915 struct drm_plane *primary; local 972 primary = kzalloc(sizeof(*primary), GFP_KERNEL); 973 if (!primary) { 978 ret = armada_drm_primary_plane_init(drm, primary); 980 kfree(primary); 984 ret = drm_crtc_init_with_planes(drm, &dcrtc->crtc, primary, NULL, 1000 primary->funcs->destroy(primary);
|
H A D | armada_drv.c | 137 armada_drm_debugfs_init(priv->drm.primary);
|
H A D | armada_plane.c | 298 struct drm_plane *primary) 302 drm_plane_helper_add(primary, &armada_primary_plane_helper_funcs); 304 ret = drm_universal_plane_init(drm, primary, 0, 297 armada_drm_primary_plane_init(struct drm_device *drm, struct drm_plane *primary) argument
|
H A D | armada_plane.h | 34 struct drm_plane *primary);
|
/linux-master/drivers/gpu/drm/aspeed/ |
H A D | aspeed_gfx_crtc.c | 30 const u32 format = crtc->primary->state->fb->format->format;
|
/linux-master/drivers/gpu/drm/atmel-hlcdc/ |
H A D | atmel_hlcdc_crtc.c | 509 struct atmel_hlcdc_plane *primary = NULL, *cursor = NULL; local 527 primary = atmel_hlcdc_layer_to_plane(dc->layers[i]); 539 ret = drm_crtc_init_with_planes(dev, &crtc->base, &primary->base,
|
H A D | atmel_hlcdc_plane.c | 525 struct atmel_hlcdc_plane *primary; local 528 primary = drm_plane_to_atmel_hlcdc_plane(c_state->crtc->primary); 529 layout = &primary->layer.desc->layout; 534 &primary->base); 544 if (ovl == c_state->crtc->primary)
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_atomic.c | 384 /* NOTE: we explicitly don't enforce constraints such as primary 1653 primary_state = drm_atomic_get_plane_state(state, crtc->primary);
|
H A D | drm_atomic_helper.c | 847 * only be false for primary planes. 920 * (including those that use the primary plane helper's 939 * drm_atomic_helper_check_crtc_primary_plane() - Check CRTC state for primary plane 942 * Checks that a CRTC has at least one primary plane attached to it, which is 944 * of the test. To test if the primary plane is visible or if it can be updated 949 * 0 if a primary plane is attached to the CRTC, or an error code otherwise 957 /* needs at least one primary plane to be enabled */ 963 drm_dbg_atomic(dev, "[CRTC:%d:%s] primary plane missing\n", crtc->base.id, crtc->name); 1301 struct drm_plane *primary = crtc->primary; 1300 struct drm_plane *primary = crtc->primary; local [all...] |