Re: [RFC v2 5/5] drm: Add NVIDIA Tegra support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 21, 2012 at 12:42:35PM -0600, Stephen Warren wrote:
> On 04/25/2012 03:45 AM, Thierry Reding wrote:
> > This commit adds a very basic DRM driver for NVIDIA Tegra SoCs. It
> > currently has rudimentary GEM support and can run a console on the
> > framebuffer as well as X using the xf86-video-modesetting driver. Only
> > the RGB output is supported.
> > 
> > HDMI support was taken from NVIDIA's Linux kernel tree but it doesn't
> > quite work. EDID data can be retrieved but the output doesn't properly
> > activate the connected TV.
> > 
> > The DSI and TVO outputs and the HOST1X driver are just stubs that setup
> > the corresponding resources but don't do anything useful yet.
> 
> > diff --git a/drivers/gpu/drm/tegra/tegra-dc.c b/drivers/gpu/drm/tegra/tegra-dc.c
> 
> > +	switch (crtc->fb->pixel_format) {
> > +	case DRM_FORMAT_XRGB8888:
> > +		win.fmt = WIN_COLOR_DEPTH_R8G8B8A8;
> 
> I think that should be WIN_COLOR_DEPTH_B8G8R8A8 instead. At least,
> making that change solves the R/B color swap on my Springbank(Seaboard)
> board. The component ordering in the names matches better, so it seems
> likely this is generally applicable.
> 
> The same comment applies in the default case below.

Yes, you're absolutely right. I ran some basic testing but it turned out
that all those were either black and white or something like glxgears
where the colors of the gears were just switched so I didn't notice. =)

> BTW, I added these patches to a kernel based on next-20120820, and will
> be using a netbook running with them to take notes at the conference
> next week. It's awesome to be running a Tegra system with graphics using
> 100% Open-Source and nearly 100% upstream SW (even all the
> BCT/bootloader/flashing tools too).

Yes, I'm really happy where things are going. We've come a long way.

I'm in the process of going through my patches and getting things sorted
out. My Tegra branch has grown unwieldy so I'm trying to get the easier
patches merged first so that for the more complex series (PCIe and DRM)
things will hopefully become easier to handle. So please bear with me.

Thierry

Attachment: pgp_1vjlhcUUC.pgp
Description: PGP signature


[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux