Re: omap DSS fails with tft410 driver panel?

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

 



On Thu, Nov 22, 2012 at 12:47 AM, Tomi Valkeinen <tomi.valkeinen@xxxxxx> wrote:

>> I'll add the printk's to omapfb_setup_plane() that were requested by
>> Tomi and report back.

Today was a holiday, so family obligations didn't allow much time to
look at this.

I did however do a quick build with some printk's in
omapfb_setup_plane() so I could narrow down where to start looking.

I discovered that the error (omapdss OVERLAY error: check_overlay:
paddr cannot be 0) is happening as a result of the
ovl->set_overlay_info() call in the else clause of the code below:

    if (pi->enabled) {
        r = omapfb_setup_overlay(fbi, ovl, pi->pos_x, pi->pos_y,
            pi->out_width, pi->out_height);
        if (r) {
            printk("omapfb_setup_plane: pi->enabled &
omapfb_setup_overlay()\n");
            goto undo;
        }
    } else {
        struct omap_overlay_info info;

        ovl->get_overlay_info(ovl, &info);

        info.pos_x = pi->pos_x;
        info.pos_y = pi->pos_y;
        info.out_width = pi->out_width;
        info.out_height = pi->out_height;

        r = ovl->set_overlay_info(ovl, &info);
        if (r) {
            printk("omapfb_setup_plane: !pi->enabled &
ovl->set_overlay_info failed\n");
            goto undo;
        }
    }

I'll look at this more over as I get time over the coming days.

> How can I reproduce this? Is there a downloadable rootfs somewhere that
> I could try?

The only downloadable rootfs I have is 3.5 based.  I'll try to get a
3.6 image posted in the next couple of days.

> Could you also copy full kernel boot log to pastebin or such?

OK, will do that with my next build.  I'll assume you want dss
debugging enabled for that.

Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux