Commit 0851227
committed
drm/i915: Don't clobber crtc_state->cpu_transcoder for inactive crtcs
Inactive crtcs are supposed to have their crtc_state completely
cleared. Currently we are clobbering crtc_state->cpu_transcoder
before determining whether it's actually enabled or not. Don't
do that.
I want to rework the inherited flag handling for inactive crtcs
a bit, and having a bogus cpu_transcoder in the crtc state can
then cause confusing fastset mismatches even when the crtc never
changes state during the commit.
Reviewed-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250306163420.3961-3-ville.syrjala@linux.intel.com1 parent 72eea91 commit 0851227
1 file changed
Lines changed: 13 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2985 | 2985 | | |
2986 | 2986 | | |
2987 | 2987 | | |
| 2988 | + | |
2988 | 2989 | | |
| 2990 | + | |
2989 | 2991 | | |
2990 | | - | |
2991 | 2992 | | |
2992 | 2993 | | |
2993 | 2994 | | |
2994 | 2995 | | |
2995 | 2996 | | |
2996 | 2997 | | |
2997 | | - | |
2998 | | - | |
2999 | | - | |
3000 | | - | |
3001 | | - | |
3002 | | - | |
3003 | | - | |
3004 | | - | |
| 2998 | + | |
3005 | 2999 | | |
3006 | 3000 | | |
3007 | 3001 | | |
| 3002 | + | |
| 3003 | + | |
| 3004 | + | |
| 3005 | + | |
| 3006 | + | |
3008 | 3007 | | |
3009 | 3008 | | |
3010 | 3009 | | |
| |||
3328 | 3327 | | |
3329 | 3328 | | |
3330 | 3329 | | |
| 3330 | + | |
3331 | 3331 | | |
| 3332 | + | |
3332 | 3333 | | |
3333 | | - | |
3334 | 3334 | | |
3335 | 3335 | | |
3336 | 3336 | | |
3337 | 3337 | | |
3338 | 3338 | | |
3339 | 3339 | | |
3340 | | - | |
3341 | | - | |
3342 | | - | |
3343 | | - | |
3344 | | - | |
| 3340 | + | |
3345 | 3341 | | |
3346 | 3342 | | |
3347 | 3343 | | |
| 3344 | + | |
| 3345 | + | |
3348 | 3346 | | |
3349 | 3347 | | |
3350 | 3348 | | |
| |||
0 commit comments