Merge branch 'gpu-switcher' of /ssd/git//linux-2.6 into drm-next-stage
* 'gpu-switcher' of /ssd/git//linux-2.6: vga_switcheroo: initial implementation (v15) fb: for framebuffer handover don't exit the loop early. Conflicts: drivers/gpu/drm/i915/i915_dma.c drivers/gpu/drm/radeon/Makefile drivers/gpu/drm/radeon/radeon.h
This commit is contained in:
@@ -39,6 +39,8 @@
|
||||
|
||||
#include "drm_fb_helper.h"
|
||||
|
||||
#include <linux/vga_switcheroo.h>
|
||||
|
||||
struct radeon_fb_device {
|
||||
struct drm_fb_helper helper;
|
||||
struct radeon_framebuffer *rfb;
|
||||
@@ -286,6 +288,7 @@ int radeonfb_create(struct drm_device *dev,
|
||||
rfbdev->rdev = rdev;
|
||||
|
||||
mutex_unlock(&rdev->ddev->struct_mutex);
|
||||
vga_switcheroo_client_fb_set(rdev->ddev->pdev, info);
|
||||
return 0;
|
||||
|
||||
out_unref:
|
||||
|
Reference in New Issue
Block a user