Remove remaining fbOffset setting.
In the long long ago, fbOffset was used for DGA. The server now has only one reference to fbOffset, a leftover setting of it in fbdevhw. We can safely ignore it now, which is good since we weren't updating it in other places where the front buffer offset could change.
This commit is contained in:
parent
15026d64d3
commit
7b7c724da9
|
|
@ -1368,7 +1368,6 @@ drmmode_do_pageflip(ScreenPtr screen, dri_bo *new_front, dri_bo *old_front,
|
|||
dri_bo_pin(new_front, 0);
|
||||
dri_bo_unpin(new_front);
|
||||
|
||||
scrn->fbOffset = new_front->offset;
|
||||
intel->front_buffer = new_front;
|
||||
drmmode->old_fb_id = old_fb_id;
|
||||
|
||||
|
|
|
|||
|
|
@ -432,7 +432,6 @@ Bool i830_tiled_width(intel_screen_private *intel, int *width, int cpp);
|
|||
int i830_pad_drawable_width(int width, int cpp);
|
||||
|
||||
/* i830_memory.c */
|
||||
Bool i830_reinit_memory(ScrnInfoPtr scrn);
|
||||
unsigned long i830_get_fence_size(intel_screen_private *intel, unsigned long size);
|
||||
unsigned long i830_get_fence_pitch(intel_screen_private *intel, unsigned long pitch,
|
||||
uint32_t tiling_mode);
|
||||
|
|
|
|||
|
|
@ -1389,8 +1389,7 @@ static Bool I830EnterVT(int scrnIndex, int flags)
|
|||
strerror(errno));
|
||||
}
|
||||
|
||||
if (!i830_reinit_memory(scrn))
|
||||
return FALSE;
|
||||
i830_set_gem_max_sizes(scrn);
|
||||
|
||||
if (!xf86SetDesiredModes(scrn))
|
||||
return FALSE;
|
||||
|
|
|
|||
|
|
@ -276,21 +276,6 @@ drm_intel_bo *i830_allocate_framebuffer(ScrnInfoPtr scrn)
|
|||
return front_buffer;
|
||||
}
|
||||
|
||||
/**
|
||||
* Called at EnterVT to reinit memory related stuff..
|
||||
*/
|
||||
Bool i830_reinit_memory(ScrnInfoPtr scrn)
|
||||
{
|
||||
intel_screen_private *intel = intel_get_screen_private(scrn);
|
||||
|
||||
i830_set_gem_max_sizes(scrn);
|
||||
|
||||
if (intel->front_buffer)
|
||||
scrn->fbOffset = intel->front_buffer->offset;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static void i830_set_max_gtt_map_size(ScrnInfoPtr scrn)
|
||||
{
|
||||
intel_screen_private *intel = intel_get_screen_private(scrn);
|
||||
|
|
|
|||
Loading…
Reference in New Issue