Hi Daniel, I was finally able to test the driver with 5.9 kernel with minor changes in the driver. Ran the igt_vblank test and it passed/skipped all the subtests except the pipe-A-accuracy-idle test. Results are attached. Investigated the failing test and it seems like drm_handle_vblank() is taking too long sometimes. I can work on this after we merge. Will send out V8 with the minor changes and device tree YAML binding file ASAP. Will work on the rest of the review comments after. Thanks, Anitha > From: Daniel Vetter > Sent: Thursday, September 10, 2020 1:31 AM > To: Chrisanthus, Anitha > Cc: dri-devel@lists.freedesktop.org; Paauwe, Bob J > ; Dea, Edmund J ; > Vetter, Daniel > Subject: Re: [PATCH v7 2/4] drm/kmb: Add support for KeemBay Display > > On Mon, Aug 31, 2020 at 01:02:50PM -0700, Anitha Chrisanthus wrote: > > This is a basic KMS atomic modesetting display driver for KeemBay family > of > > SOCs. Driver has no 2D or 3D graphics.It calls into the ADV bridge > > driver at the connector level. > > > > Single CRTC with LCD controller->mipi DSI-> ADV bridge > > > > Only 1080p resolution and single plane is supported at this time. > > > > v2: moved extern to .h, removed license text > > use drm_dev_init, upclassed dev_private, removed HAVE_IRQ.(Sam) > > > > v3: Squashed all 59 commits to one > > > > v4: review changes from Sam Ravnborg > > renamed dev_p to kmb > > moved clocks under kmb_clock, consolidated clk initializations > > use drmm functions > > use DRM_GEM_CMA_DRIVER_OPS_VMAP > > > > v5: corrected spellings > > v6: corrected checkpatch warnings > > v7: review changes Sam Ravnborg and Thomas Zimmerman > > removed kmb_crtc.h kmb_crtc_cleanup (Thomas) > > renamed mode_set, kmb_load, inlined unload (Thomas) > > moved remaining logging to drm_*(Thomas) > > re-orged driver initialization (Thomas) > > moved plane_status to drm_private (Sam) > > removed unnecessary logs and defines and ifdef codes (Sam) > > call helper_check in plane_atomic_check (Sam) > > renamed set to get for bpp and format functions(Sam) > > use drm helper functions for reset, duplicate/destroy state instead > > of kmb functions (Sam) > > removed kmb_priv from kmb_plane and removed kmb_plane_state > (Sam) > > > > Cc: Sam Ravnborg > > Signed-off-by: Anitha Chrisanthus > > Reviewed-by: Bob Paauwe > > Sam asked me to take a look at this too, looks reasonable overall. I've > spotted a few small things plus a potential functional issue around > vblank/event handling. I strongly recommend running the igt test suite > over the driver to see whether it all works reasonably ok. See below for > details. > > > --- > > drivers/gpu/drm/kmb/kmb_crtc.c | 224 +++++++++++++ > > drivers/gpu/drm/kmb/kmb_drv.c | 676 > ++++++++++++++++++++++++++++++++++++++++ > > drivers/gpu/drm/kmb/kmb_drv.h | 170 ++++++++++ > > drivers/gpu/drm/kmb/kmb_plane.c | 480 > ++++++++++++++++++++++++++++ > > drivers/gpu/drm/kmb/kmb_plane.h | 110 +++++++ > > 5 files changed, 1660 insertions(+) > > create mode 100644 drivers/gpu/drm/kmb/kmb_crtc.c > > create mode 100644 drivers/gpu/drm/kmb/kmb_drv.c > > create mode 100644 drivers/gpu/drm/kmb/kmb_drv.h > > create mode 100644 drivers/gpu/drm/kmb/kmb_plane.c > > create mode 100644 drivers/gpu/drm/kmb/kmb_plane.h > > > > diff --git a/drivers/gpu/drm/kmb/kmb_crtc.c > b/drivers/gpu/drm/kmb/kmb_crtc.c > > new file mode 100644 > > index 0000000..a684331 > > --- /dev/null > > +++ b/drivers/gpu/drm/kmb/kmb_crtc.c > > @@ -0,0 +1,224 @@ > > +// SPDX-License-Identifier: GPL-2.0-only > > +/* > > + * Copyright (c) 2018-2020 Intel Corporation > > + */ > > + > > +#include > > +#include > > +#include > > + > > +#include