[PATCH 3/7] drm/omap: fix missing scaler pixel fmt limitations

Tomi Valkeinen tomi.valkeinen at ti.com
Thu Sep 26 12:55:25 UTC 2019


On 03/09/2019 18:12, Laurent Pinchart wrote:

>> @@ -2498,6 +2499,19 @@ static int dispc_ovl_calc_scaling(struct dispc_device *dispc,
>>   	if (width == out_width && height == out_height)
>>   		return 0;
>>   
>> +	if (dispc->feat->supported_scaler_color_modes) {
>> +		const u32 *modes = dispc->feat->supported_scaler_color_modes;
>> +		int i;
> 
> i is never negative and can thus be an unsigned int. Apart from that,

Thanks, fixed that.

  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