Files
linux/drivers/gpu/drm/radeon
Egbert Eich 7b8bd6bb42 drm/radeon: Set depth on low mem to 16 bpp instead of 8 bpp
The radeon driver reduces the framebuffer resolution to 8bpp if a
device with less than 32MB VRAM is found.  This causes the framebuffer
to run in 8 bit paletted mode.  For a text console this is not an
issue as 256 different colors is more than one gets on a VGA text
console.  However this leads to a poor 8bit pseudo-color visual when
running X on fbdev, too, which is quite ugly.

In this patch, we try to give some moderate compromise: limit the
framebuffer bpp to 8 only when VRAM is 8MB or less, and use 16 bpp
otherwise for 32MB or less VRAM.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Egbert Eich <eich@suse.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-07-25 16:37:06 -04:00
..
2016-12-15 14:55:34 +02:00
2015-10-21 11:35:11 -04:00
2017-06-27 08:28:30 +10:00
2016-03-16 18:08:06 -04:00
2015-12-02 12:45:54 -05:00
2015-10-21 11:35:11 -04:00
2016-03-16 18:08:06 -04:00
2015-11-30 14:44:34 -05:00
2017-05-18 17:22:39 +02:00
2015-12-02 12:45:54 -05:00
2017-05-08 17:15:14 -07:00
2017-05-18 17:22:39 +02:00
2016-03-16 18:08:06 -04:00
2017-05-18 17:22:39 +02:00
2016-03-16 18:08:06 -04:00
2017-05-18 17:22:39 +02:00
2017-06-27 08:28:30 +10:00