Message ID | 6045832d30e5ff56a90cb0fbbb3b92a17f076a2a.1444663039.git.lukas@wunner.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Mon, Oct 12, 2015 at 6:00 AM, Lukas Wunner <lukas@wunner.de> wrote: > Introduced by f482a1419545 ("drm/radeon: document radeon_kms.c") > and inherited by the amdgpu fork. > > Signed-off-by: Lukas Wunner <lukas@wunner.de> > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c > index 371f015..b1d499e 100644 > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c > @@ -485,11 +485,11 @@ static int amdgpu_info_ioctl(struct drm_device *dev, void *data, struct drm_file > * Outdated mess for old drm with Xorg being in charge (void function now). > */ > /** > - * amdgpu_driver_firstopen_kms - drm callback for last close > + * amdgpu_driver_lastclose_kms - drm callback for last close Already fixed as part of this patch: http://cgit.freedesktop.org/~airlied/linux/commit/?h=drm-fixes&id=8b7530b15c3332220a081035ab467c9359aff409 Up to you if you want to respin the second hunk or not. Alex > * > * @dev: drm dev pointer > * > - * Switch vga switcheroo state after last close (all asics). > + * Switch vga_switcheroo state after last close (all asics). > */ > void amdgpu_driver_lastclose_kms(struct drm_device *dev) > { > -- > 1.8.5.2 (Apple Git-48) >
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c index 371f015..b1d499e 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c @@ -485,11 +485,11 @@ static int amdgpu_info_ioctl(struct drm_device *dev, void *data, struct drm_file * Outdated mess for old drm with Xorg being in charge (void function now). */ /** - * amdgpu_driver_firstopen_kms - drm callback for last close + * amdgpu_driver_lastclose_kms - drm callback for last close * * @dev: drm dev pointer * - * Switch vga switcheroo state after last close (all asics). + * Switch vga_switcheroo state after last close (all asics). */ void amdgpu_driver_lastclose_kms(struct drm_device *dev) {
Introduced by f482a1419545 ("drm/radeon: document radeon_kms.c") and inherited by the amdgpu fork. Signed-off-by: Lukas Wunner <lukas@wunner.de> --- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)