diff options
author | Ville Syrjälä <[email protected]> | 2020-02-06 22:12:04 +0200 |
---|---|---|
committer | Ville Syrjälä <[email protected]> | 2020-09-14 16:50:09 +0300 |
commit | 4de962300b883cc4aaafd7b625cbd497a299e6e1 (patch) | |
tree | 6168b3038349f85a81dea15bf1e0960b91665189 /drivers/gpu/drm/i915/display/intel_dp_mst.c | |
parent | 23d3e3799fb031f5eff5855c3df8e58e3a40001b (diff) |
drm/i915: Use fb->format->is_yuv for the g4x+ sprite RGB vs. YUV check
g4x+ sprites have an extra cdclk limitation listed for RGB formats.
For some random reason I chose to use cpp>=4 as the check for that.
While that does actually work let's deobfuscate it by checking
for !is_yuv instead. I suspect is_yuv didn't exist way back when
I originally write the code.
Also drop the duplicate comment.
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Acked-by: Jani Nikula <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_mst.c')
0 files changed, 0 insertions, 0 deletions