The present application discloses a display panel and a display device. The display panel includes a substrate; an active switch, which is arrange on the substrate and includes a first active switch and a second active switch; a pixel, which is arrange on the substrate and coupled to the first active switch and includes a quantum dot light-emitting diode; and a light sensor, which is arrange on the substrate and coupled to the second active switch and includes a quantum dot light sensing layer.