build fix
parent
b87c7ff79e
commit
fef1c93aa8
|
@ -420,14 +420,14 @@ bool drm_crtc_set_mode(struct drm_crtc *crtc, struct drm_display_mode *mode,
|
||||||
int saved_x, saved_y;
|
int saved_x, saved_y;
|
||||||
bool didLock = false;
|
bool didLock = false;
|
||||||
struct drm_output *output;
|
struct drm_output *output;
|
||||||
|
bool ret = true;
|
||||||
|
|
||||||
adjusted_mode = drm_mode_duplicate(dev, mode);
|
adjusted_mode = drm_mode_duplicate(dev, mode);
|
||||||
|
|
||||||
crtc->enabled = drm_crtc_in_use(crtc);
|
crtc->enabled = drm_crtc_in_use(crtc);
|
||||||
|
|
||||||
if (!crtc->enabled) {
|
if (!crtc->enabled)
|
||||||
return true;
|
return true;
|
||||||
}
|
|
||||||
|
|
||||||
didLock = crtc->funcs->lock(crtc);
|
didLock = crtc->funcs->lock(crtc);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue