Re: [PATCH v3 06/11] video: tegra-dc: add 180 degree panel rotation

2023-04-16 Thread Svyatoslav Ryhel
нд, 16 квіт. 2023 р. о 20:29 Dmitry Osipenko пише: > > 27.03.2023 11:11, Svyatoslav Ryhel пишет: > > @@ -370,6 +383,8 @@ static int tegra_lcd_of_to_plat(struct udevice *dev) > > return -EINVAL; > > } > > > > + priv->rotation = dev_read_bool(dev, "nvidia,180-rotation"); > >

Re: [PATCH v3 06/11] video: tegra-dc: add 180 degree panel rotation

2023-04-16 Thread Svyatoslav Ryhel
нд, 16 квіт. 2023 р. о 20:29 Dmitry Osipenko пише: > > 27.03.2023 11:11, Svyatoslav Ryhel пишет: > > @@ -370,6 +383,8 @@ static int tegra_lcd_of_to_plat(struct udevice *dev) > > return -EINVAL; > > } > > > > + priv->rotation = dev_read_bool(dev, "nvidia,180-rotation"); > >

Re: [PATCH v3 06/11] video: tegra-dc: add 180 degree panel rotation

2023-04-16 Thread Dmitry Osipenko
27.03.2023 11:11, Svyatoslav Ryhel пишет: > @@ -370,6 +383,8 @@ static int tegra_lcd_of_to_plat(struct udevice *dev) > return -EINVAL; > } > > + priv->rotation = dev_read_bool(dev, "nvidia,180-rotation"); There is no "nvidia,180-rotation" in the DT binding. It should be s

[PATCH v3 06/11] video: tegra-dc: add 180 degree panel rotation

2023-03-27 Thread Svyatoslav Ryhel
Unlike 90 and 270 degree rotation, 180 degree rotation is more common and does not require scaling. Implement it for correct grouper support. Tested-by: Andreas Westman Dorcsak # Google Nexus 7 2012 Tested-by: Svyatoslav Ryhel # Google Nexus 7 2012 Signed-off-by: Svyatoslav Ryhel --- drivers/v