Skip to content

drmOpen Failure in jetson orin #15

@eulercat

Description

@eulercat

I've tried to call drmOpen() like the following.
drmOpen("drm-nvdc', nullptr);

Since it failed and I noticed the device driver error occurred before in the kernel logs.

nvdc: open: No such file or directory
nvdc: failed to open '/dev/tegra_dc_ctrl'.

https://github.com/OE4T/linux-tegra-5.10/blob/oe4t-patches-l4t-r35.4.ga/nvidia/drivers/video/tegra/dc/dc.c#L113

static const struct of_device_id tegra_display_of_match[] = {
	{.compatible = "nvidia,tegra210-dc", .data = &t21x_hw_data },
	{.compatible = "nvidia,tegra186-dc", .data = &t18x_hw_data },
	{.compatible = "nvidia,tegra194-dc", .data = &t19x_hw_data },
	{ },
};

Kernel couldn't find the compatible device node, hence it couldn't create the device node, consequently drm seemed not working properly because it couldn't interface with the display-controller device.

I've checked the device tree for jetson-orin, it didn't have the compatible devices , but it had tegra234-display.
jetson-xavior has nvidia,tegra194-dc, but orin doesn't. So the currently nvidia/driver/video and nvidia/driver/drm might work on jetson-xavior, but it will fail on jetson-orin.

Please let me know if I miss-understood.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions