Iphone 6 dim disply brightness not working

I have iphone 6 comes with broken screen and dim screen apple logo reboot itself I have done softwer upgrade phone working fine but only lcd brightness not working in auto mode or manual mode same getting dim means brightness is very low give me a solution