Patent ID: 7525530

Claim:
A display device comprising: a gate driver for line-sequentially selecting pixels that are disposed in a matrix, so as to scan the pixels, a source driver for supplying a data signal to the pixels of a selected line, a substrate, at least one of the gate driver and the source driver being monolithically formed on the substrate, wherein at least one of the gate driver and the source driver monolithically formed on the substrate comprises switching means for switching shift directions, wherein at least one of the gate driver and the source driver monolithically formed on the substrate has a scanning circuit that periodically receives a clock signal and the start pulse in each shift direction, the start pulse having a certain width and being shifted as shift data in the scanning circuit in synchronism with the clock signal, wherein the switching means switches the shift directions from a first direction to a second direction after the start pulse has been shifted in the first direction and transferred to a last stage of the first direction, wherein the shift data transferred to the last stage of the first direction is shifted in the second direction in synchronism with the clock signal, by being temporarily held in a latch circuit or by being directly supplied to the scanning circuit as data to be shifted in the second direction, wherein the shift data transferred to a last stage of the second direction is used to test the scanning circuit, wherein an operating state of the scanning circuit is judged by comparing, or supplying to a judging logic circuit, the shift data that was transferred to the last stage of the second direction, and a start pulse that was supplied to the scanning circuit of at least one of the gate driver and the source driver monolithically formed on the substrate following the start pulse that was used as the shift data.