drm/radeon: add a connector property for dither
Allows you to enable dither in the display hardware when the monitor supports lower a lower bpc than the current framebuffer format. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -249,6 +249,8 @@ struct radeon_mode_info {
|
||||
struct drm_property *underscan_vborder_property;
|
||||
/* audio */
|
||||
struct drm_property *audio_property;
|
||||
/* FMT dithering */
|
||||
struct drm_property *dither_property;
|
||||
/* hardcoded DFP edid from BIOS */
|
||||
struct edid *bios_hardcoded_edid;
|
||||
int bios_hardcoded_edid_size;
|
||||
@@ -479,6 +481,11 @@ enum radeon_connector_audio {
|
||||
RADEON_AUDIO_AUTO = 2
|
||||
};
|
||||
|
||||
enum radeon_connector_dither {
|
||||
RADEON_FMT_DITHER_DISABLE = 0,
|
||||
RADEON_FMT_DITHER_ENABLE = 1,
|
||||
};
|
||||
|
||||
struct radeon_connector {
|
||||
struct drm_connector base;
|
||||
uint32_t connector_id;
|
||||
@@ -498,6 +505,7 @@ struct radeon_connector {
|
||||
struct radeon_router router;
|
||||
struct radeon_i2c_chan *router_bus;
|
||||
enum radeon_connector_audio audio;
|
||||
enum radeon_connector_dither dither;
|
||||
};
|
||||
|
||||
struct radeon_framebuffer {
|
||||
|
Reference in New Issue
Block a user