drm: Catch stop possible NULL pointer reference
This was caught by Weiss. Also added some comments to the fb_changed and mode_changed variables to explain what they do. Signed-off-by: NJakob Bornecrantz <jakob@vmware.com> Tested-by: NThomas White <taw@bitwiz.org.uk> Signed-off-by: NDave Airlie <airlied@redhat.com>
Showing
想要评论请 注册 或 登录