Loading drivers/gpu/drm/msm/sde/sde_connector.c +4 −1 Original line number Diff line number Diff line Loading @@ -1054,7 +1054,10 @@ static int sde_connector_atomic_set_property(struct drm_connector *connector, if (!val) goto end; rc = sde_fence_create(&c_conn->retire_fence, &fence_fd, 0); /* * update the the offset to a timeline for commit completion */ rc = sde_fence_create(&c_conn->retire_fence, &fence_fd, 1); if (rc) { SDE_ERROR("fence create failed rc:%d\n", rc); goto end; Loading drivers/gpu/drm/msm/sde/sde_crtc.c +7 −0 Original line number Diff line number Diff line Loading @@ -5196,6 +5196,13 @@ static int _sde_crtc_get_output_fence(struct drm_crtc *crtc, */ offset = is_cmd ? 0 : (offset + conn_offset); /* * Hwcomposer now queries the fences using the commit list in atomic * commit ioctl. The offset should be set to next timeline * which will be incremented during the prepare commit phase */ offset++; return sde_fence_create(&sde_crtc->output_fence, val, offset); } Loading Loading
drivers/gpu/drm/msm/sde/sde_connector.c +4 −1 Original line number Diff line number Diff line Loading @@ -1054,7 +1054,10 @@ static int sde_connector_atomic_set_property(struct drm_connector *connector, if (!val) goto end; rc = sde_fence_create(&c_conn->retire_fence, &fence_fd, 0); /* * update the the offset to a timeline for commit completion */ rc = sde_fence_create(&c_conn->retire_fence, &fence_fd, 1); if (rc) { SDE_ERROR("fence create failed rc:%d\n", rc); goto end; Loading
drivers/gpu/drm/msm/sde/sde_crtc.c +7 −0 Original line number Diff line number Diff line Loading @@ -5196,6 +5196,13 @@ static int _sde_crtc_get_output_fence(struct drm_crtc *crtc, */ offset = is_cmd ? 0 : (offset + conn_offset); /* * Hwcomposer now queries the fences using the commit list in atomic * commit ioctl. The offset should be set to next timeline * which will be incremented during the prepare commit phase */ offset++; return sde_fence_create(&sde_crtc->output_fence, val, offset); } Loading