[PATCH v4 2/2] drm/tiny: add driver for Apple Touch Bars in x86 Macs
andriy.shevchenko at linux.intel.com
andriy.shevchenko at linux.intel.com
Tue Feb 25 10:28:55 UTC 2025
On Tue, Feb 25, 2025 at 09:48:11AM +0100, Thomas Zimmermann wrote:
> Am 25.02.25 um 09:00 schrieb Aditya Garg:
> > > On 25 Feb 2025, at 1:22 PM, Thomas Zimmermann <tzimmermann at suse.de> wrote:
> > > > Am 24.02.25 um 14:40 schrieb Aditya Garg:
...
> > > > +struct appletbdrm_device {
> > > > + struct device *dev;
> > > This field should go away, please. There's drm.dev, which contains the same address.
> > >
> > > So seems to have remove the dmadev field instead, which you'll need for
> > > dma-buf sharing. Was that a misunderstanding from the last review?
> > Yeah that was a misunderstanding. I though you meant to remove dmadev.
> > > The rest of the driver looks good.
> > Maybe you missed the left over dev_err_probe left in this patch? I'll fix
> > them.
>
> Sure.
But can you comment on my reply where I'm asking for a clarification how
drm_err() can be used on the physical device ->probe() to begin with?
> > > > + unsigned int in_ep;
> > > > + unsigned int out_ep;
> > > > +
> > > > + unsigned int width;
> > > > + unsigned int height;
> > > > +
> > > > + struct drm_device drm;
> > > > + struct drm_display_mode mode;
> > > > + struct drm_connector connector;
> > > > + struct drm_plane primary_plane;
> > > > + struct drm_crtc crtc;
> > > > + struct drm_encoder encoder;
> > > > +};
--
With Best Regards,
Andy Shevchenko
More information about the dri-devel
mailing list