diff options
author | Mario Kleiner <mario.kleiner.de@gmail.com> | 2016-05-24 18:12:43 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-06-07 18:18:52 -0700 |
commit | f72eee26b4d11821169f4f80712cf533111c8a1b (patch) | |
tree | 0ece09bb97a5e2dab066c0bd6c5b6f75fe617eb4 /drivers/gpu/drm/i915/intel_fbdev.c | |
parent | 3b687448b7e14bfd9b62e8519fc60a6565f9dc84 (diff) | |
download | linux-stable-f72eee26b4d11821169f4f80712cf533111c8a1b.tar.gz linux-stable-f72eee26b4d11821169f4f80712cf533111c8a1b.tar.bz2 linux-stable-f72eee26b4d11821169f4f80712cf533111c8a1b.zip |
drm/amdgpu: Fix hdmi deep color support.
commit 9d746ab68163d642dae13756b2b3145b2e38cb65 upstream.
When porting the hdmi deep color detection code from
radeon-kms to amdgpu-kms apparently some kind of
copy and paste error happened, attaching an else
branch to the wrong if statement.
The result is that hdmi deep color mode is always
disabled, regardless of gpu and display capabilities and
user wishes, as the code mistakenly thinks that the display
doesn't provide the required max_tmds_clock limit and falls
back to 8 bpc.
This patch fixes deep color support, as tested on a
R9 380 Tonga Pro + suitable display, and should be
backported to all kernels with amdgpu-kms support.
Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_fbdev.c')
0 files changed, 0 insertions, 0 deletions