radeon: completely remove lut leftovers
Subsystems (2)
PATCH 1/1 radeon: completely remove lut leftovers
This is an oversight from
commit 42585395ebc1034a98937702849669f17eadb35f
Author: Peter Rosin <[email protected]> Date: Thu Jul 13 18:25:36 2017 +0200
drm: radeon: remove dead code and pointless local lut storage
v2: Also remove leftover local variable.
---
Fumbled the previous patch for the regression fix (hm just realized maybe that one should have a cc: stable to make a few more people happy), wanted to include this cleanup here.
-Daniel
--- drivers/gpu/drm/radeon/radeon_display.c | 7 ------- drivers/gpu/drm/radeon/radeon_mode.h | 1 - 2 files changed, 8 deletions(-)
drivers/gpu/drm/radeon/radeon_display.c +0 -7
@@ -672,7 +672,6 @@ static void radeon_crtc_init(struct drm_device *dev, int index) {struct radeon_device *rdev = dev->dev_private;struct radeon_crtc *radeon_crtc; -int i; radeon_crtc =kzalloc (sizeof (struct radeon_crtc ) + (RADEONFB_CONN_LIMIT *sizeof (struct drm_connector *)),GFP_KERNEL );if (radeon_crtc ==NULL )
@@ -701,12 +700,6 @@ static void radeon_crtc_init(struct drm_device *dev, int index) radeon_crtc->mode_set.num_connectors =0 ;#endif -for (i =0 ; i <256 ; i++) { - radeon_crtc->lut_r[i] = i <<2 ; - radeon_crtc->lut_g[i] = i <<2 ; - radeon_crtc->lut_b[i] = i <<2 ; - } -if (rdev->is_atom_bios && (ASIC_IS_AVIVO (rdev) || radeon_r4xx_atom))radeon_atombios_init_crtc (dev, radeon_crtc);else
drivers/gpu/drm/radeon/radeon_mode.h +0 -1
@@ -327,7 +327,6 @@ enum radeon_flip_status {struct radeon_crtc {struct drm_crtc base;int crtc_id; -u16 lut_r[256 ], lut_g[256 ], lut_b[256 ];bool enabled;bool can_tile;bool cursor_out_of_bounds;
Signature · 6 lines
2.24.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 6 lines · Daniel Vetter
This is an oversight from
commit
42585395ebc1034a98937702849669f17eadb35fAuthor: Peter Rosin <[email protected]> Date: Thu Jul 13 18:25:36 2017 +0200
Quoted 7 lines
drm: radeon: remove dead code and pointless local lut storage
v2: Also remove leftover local variable.
Cc Peter Rosin <[email protected]>Cc Alex Deucher <[email protected]>Cc Michel Dänzer <[email protected]>
I don't think this e-mail address works anymore.
Quoted 1 line
Signed-off-by Daniel Vetter <[email protected]>
Signature · 6 lines
Earthling Michel Dänzer | https://redhat.com Libre software enthusiast | Mesa and X developer _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Alex Deucher
AppliedQuoted 16 lines · Michel Dänzer
Quoted 6 lines · Daniel Vetter
This is an oversight from
commit
42585395ebc1034a98937702849669f17eadb35fAuthor: Peter Rosin <[email protected]> Date: Thu Jul 13 18:25:36 2017 +0200Quoted 7 lines
drm: radeon: remove dead code and pointless local lut storage
v2: Also remove leftover local variable.
Cc Peter Rosin <[email protected]>Cc Alex Deucher <[email protected]>Cc Michel Dänzer <[email protected]>
Quoted 6 lines
I don't think this e-mail address works anymore.
Quoted 1 line
Signed-off-by Daniel Vetter <[email protected]>Reviewed-by Michel Dänzer <[email protected]>
Applied. Thanks!
Alex
Quoted 8 lines
--
Earthling Michel Dänzer | https://redhat.com
Libre software enthusiast | Mesa and X developer
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel