[PATCH] drm/omap: Fix port lookup for SDI output

Tomi Valkeinen tomi.valkeinen at ti.com
Fri Aug 23 08:04:14 UTC 2019


On 21/08/2019 23:26, Aaro Koskinen wrote:
> Hi,
> 
> On Wed, Aug 21, 2019 at 09:32:26PM +0300, Laurent Pinchart wrote:
>> When refactoring port lookup for DSS outputs, commit d17eb4537a7e
>> ("drm/omap: Factor out common init/cleanup code for output devices")
>> incorrectly hardcoded usage of DT port 0. This breaks operation for SDI
>> (which uses the DT port 1) and DPI outputs other than DPI0 (which are
>> not used in mainline DT sources).
>>
>> Fix this by using the port number from the output omap_dss_device
>> of_ports field.
>>
>> Fixes: d17eb4537a7e ("drm/omap: Factor out common init/cleanup code for output devices")
>> Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> 
> Tested-by: Aaro Koskinen <aaro.koskinen at iki.fi>
> 
> Thanks, this fixes the display issue on N900.

Thanks, pushed to drm-misc-fixes.

  Tomi

-- 
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki


More information about the dri-devel mailing list