[PATCH 6/9] drm/ast: Factor mmc_test code in POST code

Benjamin Herrenschmidt benh at kernel.crashing.org
Sat Feb 18 22:20:46 UTC 2017


On Sat, 2017-02-18 at 15:28 +0000, Emil Velikov wrote:
> Original code does the following data flexing only for the mmc_*test2
> code, while this patch adds it to both test and test2.
> 
>        data = ast_mindwm(...);
>        data = (data | (data >> 16)) & 0xffff;
> //       ast_moutdwm(...);
>        return data;

Actually that reading of the data isn't much of a problem from
my understanding of the spec, however it's the different exit
condition of the loop that could be.

Cheers,
Ben.



More information about the dri-devel mailing list