[PATCH v1] drm/kms/crtc: Improving the func drm_mode_setcrtc

2018-08-06 Thread Satendra Singh Thakur
Following changes are done to this func: 1. The declaration of plane and it's assignment plane = crtc->primary are only used when mode_valid is set. Therefore, moved it inside the if(mode_valid) statement. 2. The declaration of connector and set_connectors_ptr and out_id are moved inside the for

Re: [PATCH v1] drm/kms/crtc: Improving the func drm_mode_setcrtc

2018-08-03 Thread Maarten Lankhorst
Op 03-08-18 om 13:43 schreef Satendra Singh Thakur: > Following changes are done to this func: > 1. The declaration of plane and it's assignment plane = crtc->primary > are only used when mode_valid is set. Therefore, moved it inside > the if(mode_valid) statement. > > 2. The declaration of