mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 05:17:10 +09:00
video: tegra: fb: Add nvmap client name
Passes a name to nvmap_create_client so it can be tracked for debugging. Change-Id: Id4aa9804d8cc8c04c44f51602362435fb877d1af Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
This commit is contained in:
@@ -651,7 +651,7 @@ struct tegra_fb_info *tegra_fb_register(struct nvhost_device *ndev,
|
||||
tegra_fb->fb_mem = fb_mem;
|
||||
tegra_fb->xres = fb_data->xres;
|
||||
tegra_fb->yres = fb_data->yres;
|
||||
tegra_fb->fb_nvmap = nvmap_create_client(nvmap_dev);
|
||||
tegra_fb->fb_nvmap = nvmap_create_client(nvmap_dev, "tegra-fb");
|
||||
if (!tegra_fb->fb_nvmap) {
|
||||
dev_err(&ndev->dev, "couldn't create nvmap client\n");
|
||||
ret = -ENOMEM;
|
||||
|
||||
Reference in New Issue
Block a user