File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -335,8 +335,6 @@ static void bochs_hw_setmode(struct bochs_device *bochs, struct drm_display_mode
335
335
bochs -> xres , bochs -> yres , bochs -> bpp ,
336
336
bochs -> yres_virtual );
337
337
338
- bochs_hw_blank (bochs , false);
339
-
340
338
bochs_dispi_write (bochs , VBE_DISPI_INDEX_ENABLE , 0 );
341
339
bochs_dispi_write (bochs , VBE_DISPI_INDEX_BPP , bochs -> bpp );
342
340
bochs_dispi_write (bochs , VBE_DISPI_INDEX_XRES , bochs -> xres );
@@ -506,6 +504,9 @@ static int bochs_crtc_helper_atomic_check(struct drm_crtc *crtc,
506
504
static void bochs_crtc_helper_atomic_enable (struct drm_crtc * crtc ,
507
505
struct drm_atomic_state * state )
508
506
{
507
+ struct bochs_device * bochs = to_bochs_device (crtc -> dev );
508
+
509
+ bochs_hw_blank (bochs , false);
509
510
}
510
511
511
512
static void bochs_crtc_helper_atomic_disable (struct drm_crtc * crtc ,
You can’t perform that action at this time.
0 commit comments