diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-07-06 08:57:35 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-07-26 07:22:40 -0400 |
commit | e1923ab3d01ef600dbde84ee29822980e816ee79 (patch) | |
tree | 761db1c50294beb5dfb84e109d748621aadfff6f /drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c | |
parent | 060f33b7170c0438ec2f57847418b50ddfc100be (diff) |
drm/<drivers>: Drop fbdev info flags
- FBINFO_CAN_FORCE_OUTPUT has been a lie ever since we nerfed&removed
the entire panic handling code in our fbdev emulation. We might
restore kms panic output, but not through the bazillion of legacy
code layers called fbdev/fbcon, there's just no way to make that
work safely.
- With the module check change FBINFO_DEFAULT is always 0, so can be
removed too.
That removes another change to cargo-cult stuff in kms drivers, yay!
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170706125735.28299-5-daniel.vetter@ffwll.ch
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c index c0d8c6ff6380..1c57fefc364c 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c | |||
@@ -245,7 +245,6 @@ static int amdgpufb_create(struct drm_fb_helper *helper, | |||
245 | 245 | ||
246 | drm_fb_helper_fill_fix(info, fb->pitches[0], fb->format->depth); | 246 | drm_fb_helper_fill_fix(info, fb->pitches[0], fb->format->depth); |
247 | 247 | ||
248 | info->flags = FBINFO_DEFAULT | FBINFO_CAN_FORCE_OUTPUT; | ||
249 | info->fbops = &amdgpufb_ops; | 248 | info->fbops = &amdgpufb_ops; |
250 | 249 | ||
251 | tmp = amdgpu_bo_gpu_offset(abo) - adev->mc.vram_start; | 250 | tmp = amdgpu_bo_gpu_offset(abo) - adev->mc.vram_start; |