aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
diff options
context:
space:
mode:
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>2019-05-22 12:00:54 -0400
committerAlex Deucher <alexander.deucher@amd.com>2019-05-24 12:25:56 -0500
commit1825fd34e8ed026911c6de6d7be7bd2d1ff8101a (patch)
treeb74417f68a8db8f1e1ea9a720d88a8a12ee61429 /drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
parentdrm/amd/powerplay: Fix code error for translating int type to bool type corre... (diff)
downloadlinux-1825fd34e8ed026911c6de6d7be7bd2d1ff8101a.tar.gz
linux-1825fd34e8ed026911c6de6d7be7bd2d1ff8101a.zip
drm/amd/display: Switch the custom "max bpc" property to the DRM prop
[Why] The custom "max bpc" property was added to limit color depth while the DRM one was still being merged. It's been a few kernel versions since then and this TODO was still sticking around. [How] Attach the DRM max bpc property to the connector and drop all of our custom property management. Set the max bpc to 8 by default since DRM defaults to the max in the range which would be 16 in this case. No behavioral changes are intended with this patch, it should just be a refactor. v2: Don't force 8bpc when no state is given Cc: Leo Li <sunpeng.li@amd.com> Cc: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
index 2e9e3db778c6..eb9975f4decb 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
@@ -331,8 +331,6 @@ struct amdgpu_mode_info {
struct drm_property *audio_property;
/* FMT dithering */
struct drm_property *dither_property;
- /* maximum number of bits per channel for monitor color */
- struct drm_property *max_bpc_property;
/* Adaptive Backlight Modulation (power feature) */
struct drm_property *abm_level_property;
/* hardcoded DFP edid from BIOS */
-helpers.txt: minor grammar fixMax Horn1-3/+3 2012-12-07git-remote-helpers.txt: document missing capabilitiesMax Horn1-3/+42 2012-12-07git-remote-helpers.txt: document invocation before input formatMax Horn1-31/+31 2012-12-06l10n: de.po: translate 22 new messagesRalf Thielow1-853/+943 2012-12-06l10n: de.po: translate 825 new messagesRalf Thielow1-494/+3955 2012-12-04mingw: get rid of getpass implementationErik Faye-Lund2-17/+0 2012-12-04mingw: reuse tty-version of git_terminal_promptErik Faye-Lund1-9/+60 2012-12-04compat/terminal: separate input and output handlesErik Faye-Lund1-11/+18 2012-12-04compat/terminal: factor out echo-disablingErik Faye-Lund1-18/+25 2012-12-04mingw: make fgetc raise SIGINT if apropriateErik Faye-Lund2-10/+72 2012-12-04mingw: correct exit-code for SIGALRM's SIG_DFLErik Faye-Lund1-2/+5 2012-12-04document that statusHints affects git checkoutMatthieu Moy1-2/+3 2012-12-03Git 1.8.1-rc0v1.8.1-rc0Junio C Hamano2-12/+14 2012-12-03status: respect advice.statusHints for ahead/behind adviceJeff King1-6/+9 2012-12-02t4041 (diff-submodule-option): modernize styleRamkumar Ramachandra1-230/+229 2012-12-02t4041 (diff-submodule-option): rewrite add_file() routineRamkumar Ramachandra1-12/+12 2012-12-02t4041 (diff-submodule-option): parse digests sensiblyRamkumar Ramachandra1-7/+7 2012-11-30l10n: Update Swedish translation (1979t0f0u)Peter Krefting1-16/+37 2012-11-30l10n: vi.po: update to git-v1.8.0.1-347-gf94c3Tran Ngoc Quan1-20/+43 2012-11-30l10n: Update git.pot (5 new, 1 removed messages)Jiang Xin1-14/+32 2012-11-29Update draft release notes to 1.8.1Junio C Hamano1-1/+32 2012-11-29git-fast-import.txt: improve documentation for quoted pathsMatthieu Moy1-2/+6 2012-11-29git-remote-mediawiki: escape ", \, and LF in file namesMatthieu Moy2-3/+39 2012-11-29t4049: refocus testsJunio C Hamano1-11/+9 2012-11-29completion: fix warning for zshFelipe Contreras1-0/+2 2012-11-28Update draft release notes to 1.8.1Junio C Hamano1-1/+10 2012-11-28Start preparing for 1.8.0.2Junio C Hamano2-1/+16 2012-11-28t9001: check send-email behavior with implicit senderJeff King1-0/+28 2012-11-28completion: add options --single-branch and --branch to "git clone"Ralf Thielow1-0/+2