Make life easier by providing a function that hands out the correct drm_vblank_crtc for a given a drm_crtc. Also abstract the lower level internals of the vblank code in a similar fashion. Signed-off-by: Ville
OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR* OTHER DEALINGS IN THE SOFTWARE.*/#ifndef_DRM_VBLANK_H_#define_DRM_VBLANK_H_#include<linux/seqlock.h>#include<linux/idr.h>#include<linux/poll.h>#include<linux/kthread.h>#include<drm/drm_file.h>#include<drm/drm_modes.h>structdrm_...
+ kthread_flush_worker(vblank->worker); +} +EXPORT_SYMBOL(drm_vblank_work_flush_all); + /** * drm_vblank_work_init - initialize a vblank work item * @work: vblank work item diff --git a/include/drm/drm_vblank_work.h b/include/drm/drm_vblank_work.h index eb41d0810c4f..e04d...
drm_vblank_cleanup(dev); } EXPORT_SYMBOL(drm_dev_fini); Expand Down 1 change: 0 additions & 1 deletion1drivers/gpu/drm/drm_internal.h Expand Up@@ -94,7 +94,6 @@ void drm_managed_release(struct drm_device *dev); /* drm_vblank.c */ ...
Re: [PATCH v4 15/15] drm/i915/vblank: use display->platform. instead of IS_() Rodrigo Vivi Tue, 22 Oct 2024 10:42:44 -0700 On Mon, Oct 21, 2024 at 04:54:16PM +0300, Jani Nikula wrote: > Switch to using the new display->platform.<platform> members for > platform ...
+ TRANS_VBLANK(dev_priv, cpu_transcoder), + vblank); /* * If more than 3/4 of the scanline detected a monitor, * then it is assumed to be present. This works even on i830, diff --git a/drivers/gpu/drm/i915/display/intel_display.c ...