Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-10] src/sys/external/bsd/drm2/dist/drm/amd/display/dc



Module Name:    src
Committed By:   martin
Date:           Wed Aug  2 10:34:25 UTC 2023

Modified Files:
        src/sys/external/bsd/drm2/dist/drm/amd/display/dc/calcs [netbsd-10]:
            amdgpu_dcn_calcs.c
        src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn20 [netbsd-10]:
            amdgpu_dcn20_resource.c

Log Message:
Pull up following revision(s) (requested by riastradh in ticket #304):

        sys/external/bsd/drm2/dist/drm/amd/display/dc/calcs/amdgpu_dcn_calcs.c: revision 1.4
        sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn20/amdgpu_dcn20_resource.c: revision 1.5

amdgpu: Mark float-dependent variables volatile.

This way they are computed -- using FP instructions -- before
DC_FP_END, after which point FP instructions will trap or behave
unpredictably.

This is a workaround, not a proper solution -- really, the
DC_FP_START/END calls should happen in a separate compilation unit
built without -mhard-float or whatever, but that's a lot more work to
make happen for now.

PR kern/57059


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.3.4.1 \
    src/sys/external/bsd/drm2/dist/drm/amd/display/dc/calcs/amdgpu_dcn_calcs.c
cvs rdiff -u -r1.4 -r1.4.4.1 \
    src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn20/amdgpu_dcn20_resource.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index